Tool Use
ToolUse
objects represent invocations of tools by an AI agent.
- Tool Name: Identifier for the registered tool
- Arguments: Key-value pairs of parameters
Structure
Creation Flow
- Detection: Parsers identify tool invocation patterns in LLM output
- Validation: Toolbox verifies the tool exists and arguments match schema
- Execution: Registered tool function is called with processed arguments