Interface ToolGuardrailService.ToolKey
- Enclosing interface:
ToolGuardrailService
Identifies a tool to the
ToolGuardrailService that bound it (see ToolGuardrailService.bind(AiServiceTool)),
as the key of the execute* and has* methods. It carries the specification and the source of the
tool, which the guardrail requests are built from. It is only meaningful to the service that bound it: what else
it holds is up to the implementation of the service.- Since:
- 1.25.0
-
Method Details
-
toolSpecification
ToolSpecification toolSpecification()The specification of the tool, as the LLM sees it.- Returns:
- The specification, never
null.
-
toolSource
-
toolName
-