ExperimentalThe ID of the session that owns the terminal.
The ID of the terminal 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 terminal.
Clients MUST NOT send it unless the terminal 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
terminal_updatethat setsexitStatus. Cancelling stops the process but does not release the terminal, and does not change the status of a tool call that references it.The Agent responds with
-32602if the terminal is unknown, has already exited, or is not cancellable. Cancelling a terminal does not change the foreground state by itself.See protocol docs: Cancelling Terminals