Ask a question to get started
Enter to send•Shift+Enter new line
build_tool_use_payload( tool_name: str, tool_id: str, tool_args: dict[str, Any
tool_name
str
tool_id
tool_args
dict[str, Any]
Build the tool.use hook payload (schema documented in hooks).
tool.use
hooks
The tool being invoked.
The tool-call id. Always a real id for an emitted tool.use (a call with no id never produces one).
The parsed tool-call arguments.