Optional_Extension point for implementations
The ID of the session this update pertains to.
The actual update content.
Optional_meta?: { [k: string]: unknown }Extension point for implementations
A single item of content
Optional_meta?: { [k: string]: unknown }Extension point for implementations
A single item of content
Optional_meta?: { [k: string]: unknown }Extension point for implementations
A single item of content
Optional_meta?: { [k: string]: unknown }Extension point for implementations
Optionalcontent?: ToolCallContent[]Content produced by the tool call.
Optionalkind?: The category of tool being invoked. Helps clients choose appropriate icons and UI treatment.
Optionallocations?: ToolCallLocation[]File locations affected by this tool call. Enables "follow-along" features in clients.
OptionalrawInput?: { [k: string]: unknown }Raw input parameters sent to the tool.
OptionalrawOutput?: { [k: string]: unknown }Raw output returned by the tool.
Optionalstatus?: "pending" | "in_progress" | "completed" | "failed"Current execution status of the tool call.
Human-readable title describing what the tool is doing.
Unique identifier for this tool call within the session.
Optional_meta?: { [k: string]: unknown }Extension point for implementations
Optionalcontent?: ToolCallContent[] | nullReplace the content collection.
Optionalkind?: ToolKind | nullUpdate the tool kind.
Optionallocations?: ToolCallLocation[] | nullReplace the locations collection.
OptionalrawInput?: { [k: string]: unknown }Update the raw input.
OptionalrawOutput?: { [k: string]: unknown }Update the raw output.
Optionalstatus?: ToolCallStatus | nullUpdate the execution status.
Optionaltitle?: string | nullUpdate the human-readable title.
The ID of the tool call being updated.
Optional_meta?: { [k: string]: unknown }Extension point for implementations
The list of tasks to be accomplished.
When updating a plan, the agent must send a complete list of all entries with their current status. The client replaces the entire plan with each update.
Optional_meta?: { [k: string]: unknown }Extension point for implementations
Commands the agent can execute
Optional_meta?: { [k: string]: unknown }Extension point for implementations
The ID of the current mode
Handles session update notifications from the agent.
This is a notification endpoint (no response expected) that receives real-time updates about session progress, including message chunks, tool calls, and execution plans.
Note: Clients SHOULD continue accepting tool call updates even after sending a
session/cancelnotification, as the agent may send final updates before responding with the cancelled stop reason.See protocol docs: Agent Reports Output