Uses of Interface
com.tnsai.metadata.ActionHandler
Packages that use ActionHandler
Package
Description
Metadata extraction and representation for actions, tools, and roles.
-
Uses of ActionHandler in com.tnsai.metadata
Methods in com.tnsai.metadata that return ActionHandlerModifier and TypeMethodDescriptionActionConfig.handler()Returns the value of thehandlerrecord component.Methods in com.tnsai.metadata with parameters of type ActionHandlerModifier and TypeMethodDescriptionstatic ActionConfigActionConfig.local(String name, String description, ActionHandler handler) ALOCALaction with no declared parameters — the handler reads the argument map directly.static ActionConfigActionConfig.local(String name, String description, List<ParamSpec> parameters, ActionHandler handler) ALOCALaction with declared parameters (surfaced to the LLM tool schema, same as annotation actions).Constructors in com.tnsai.metadata with parameters of type ActionHandlerModifierConstructorDescriptionActionConfig(String name, String description, ActionType type, List<ParamSpec> parameters, ActionHandler handler, ContractSpec contract, InputGuardrailConfig inputGuardrail, OutputGuardrailConfig outputGuardrail) Creates an instance of aActionConfigrecord class.ActionMetadata(String name, String description, ActionType type, List<ParamSpec> parameters, ActionHandler handler) Creates action metadata for a programmatically-defined action (TNS-551) — no reflectiveMethod; dispatch goes through the suppliedActionHandler.ActionMetadata(String name, String description, ActionType type, List<ParamSpec> parameters, ActionHandler handler, ContractSpec contractSpec) AsActionMetadata(String, String, ActionType, List, ActionHandler)but with a declarativeContractSpec(TNS-637) — the programmatic equivalent of@Contractfor builder-added actions.ActionMetadata(String name, String description, ActionType type, List<ParamSpec> parameters, ActionHandler handler, ContractSpec contractSpec, InputGuardrailConfig inputGuardrailConfig, OutputGuardrailConfig outputGuardrailConfig) AsActionMetadata(String, String, ActionType, List, ActionHandler, ContractSpec)but also carrying per-action programmatic guardrails (TNS-643) — the builder equivalent of method-level@InputGuardrail/@OutputGuardrail, for builder-added actions that have no method to read the annotation from.