v8.0.1 · Interface

tools

Tool calls, plans, and permission requests. Tool calls are resource-shaped: the agent constructs a [`tool-call`] when it starts dispatching, applies `update`s as the call progresses, and drops it when the call ends. The tool-call's state is mirrored to the surrounding [`agent.prompt-turn`]'s `updates` stream as `session-update::ToolCall` / `session-update::ToolCallUpdate` entries — guests don't write those variants directly. See: