Tool Use Event • AI Agent SDK
ToolUseEvent: Built-in tool invocation by the agent.
ToolUseEvent
Defined in the events module.
AI Agent
Built-in tool invocation by the agent.
Attributes: name: Tool name (e.g. `"bash", "read", "write"`). input: Tool input parameters. tool_use_id: Unique ID for this tool invocation. needs_confirmation: Whether the tool requires user confirmation.
Properties
ResponseField
strNo description available.
ResponseField
Dict[str, Any]No description available.
ResponseField
strNo description available.
ResponseField
boolNo description available.
Source
View on GitHubpraisonaiagents/managed/events.py at line 84