Uses of Class
com.tnsai.metadata.ParamSpec
Packages that use ParamSpec
Package
Description
Metadata extraction and representation for actions, tools, and roles.
-
Uses of ParamSpec in com.tnsai.metadata
Methods in com.tnsai.metadata that return ParamSpecModifier and TypeMethodDescriptionActionMetadata.getParameter(int position) Gets a parameter by position.Methods in com.tnsai.metadata that return types with arguments of type ParamSpecModifier and TypeMethodDescriptionActionConfig.parameters()Returns the value of theparametersrecord component.Method parameters in com.tnsai.metadata with type arguments of type ParamSpecModifier and TypeMethodDescriptionstatic 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).Constructor parameters in com.tnsai.metadata with type arguments of type ParamSpecModifierConstructorDescriptionActionConfig(String name, String description, ActionType type, List<ParamSpec> parameters, ActionHandler handler, ContractSpec contract, InputGuardrailConfig inputGuardrail, OutputGuardrailConfig outputGuardrail) Creates an instance of aActionConfigrecord class.ActionMetadata(Method method, List<ParamSpec> parameters) Creates action metadata from a method.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.