Interrupt a subagent
interruptCancel an active turn and discard queued messages, while preserving the session for later resumption.
Instructions
Cancel the in-flight turn (ACP session/cancel) and drop queued messages. The session stays alive and resumable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subagent handle returned by spawn, e.g. 'coder-auth' |