ExperimentalThe ID of the session that owns the tool call.
The ID of the tool call to cancel.
Optional_The _meta property is reserved by ACP to allow Clients and Agents to attach additional
metadata to their interactions. Omitted and null are equivalent and mean no metadata.
Implementations MUST NOT assign meaning to keys they do not recognize.
See protocol docs: Extensibility
Request parameters for cancelling one tool call.
Clients MUST NOT send it unless the tool call currently advertises
capabilities.cancel.The Agent responds once it has accepted the cancellation. The response does not mean the work has stopped. The Agent confirms it with a
tool_call_updateto a final status: normallycancelled, orcompletedorfailedif the work finished first.The Agent responds with
-32602if the tool call is unknown, already final, or not cancellable. Cancelling a tool call does not change the foreground state by itself.See protocol docs: Cancelling Tool Calls