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.

Diagram

uses

returns

Agent

Tool: ToolUseEvent

Result

Properties

ResponseField str

No description available.

ResponseField Dict[str, Any]

No description available.

ResponseField str

No description available.

ResponseField bool

No description available.

Source

View on GitHub

praisonaiagents/managed/events.py at line 84


Related Documentation