Uses of Record Class
com.tnsai.metadata.ActionConfig
Packages that use ActionConfig
Package
Description
Metadata extraction and representation for actions, tools, and roles.
Role definitions and capabilities for agents in the TnsAI framework.
-
Uses of ActionConfig in com.tnsai.metadata
Methods in com.tnsai.metadata that return ActionConfigModifier 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).ActionConfig.withContract(ContractSpec contract) Returns a copy of this config with the givenContractSpecattached — the programmatic equivalent of annotating the action method with@Contract(TNS-637).ActionConfig.withInputGuardrail(InputGuardrailConfig inputGuardrail) Returns a copy of this config with the given per-action input guardrail (TNS-643) — the programmatic equivalent of a method-level@InputGuardrail.ActionConfig.withOutputGuardrail(OutputGuardrailConfig outputGuardrail) Returns a copy of this config with the given per-action output guardrail (TNS-643) — the programmatic equivalent of a method-level@OutputGuardrail. -
Uses of ActionConfig in com.tnsai.roles
Methods in com.tnsai.roles with parameters of type ActionConfigModifier and TypeMethodDescriptionRoleBuilder.addAction(ActionConfig action) Registers a programmatic action on this role (TNS-551) — the builder counterpart of an@ActionSpec-annotated method.Method parameters in com.tnsai.roles with type arguments of type ActionConfigModifier and TypeMethodDescriptionRoleBuilder.actions(List<ActionConfig> actions) Registers multiple programmatic actions (TNS-551).