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:
Records
R
diff
RA diff against a single file.
tool-call-location
RA file location a tool call is operating on.
tool-call-init
RInitial state used to construct a [<code>tool-call</code>].
tool-call-patch
RA patch to apply to an active [<code>tool-call</code>]. Each field is
plan-entry
Rplan
R<hr />
tool-call-snapshot
R<hr />
permission-option
Rrequest-permission-request
Rrequest-permission-response