Stop a subagent
stopInterrupt a running subagent, discard queued messages, and mark it as stopped while preserving the session for later resume.
Instructions
Interrupt any running turn, drop queued messages and mark the subagent stopped. The session is kept and can be continued later with resume.
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": "stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subagent handle returned by spawn, e.g. 'coder-auth' |