Optional_Extension point for implementations
Available permission options for the user to choose from.
The session ID for this request.
Details about the tool call requiring permission.
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.
Requests permission from the user for a tool call operation.
Called by the agent when it needs user authorization before executing a potentially sensitive operation. The client should present the options to the user and return their decision.
If the client cancels the prompt turn via
session/cancel, it MUST respond to this request withRequestPermissionOutcome::Cancelled.See protocol docs: Requesting Permission