Stop agent
stop_agentStops a running or approval-parked agent and terminates its entire process group, including spawned shells and builds.
Instructions
Interrupt a running or approval-parked agent and signal its whole process group, so shells and builds it spawned (cargo, check_task) die with it. Idempotent.
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": {
"agent": "<agent>"
},
"name": "stop_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent ID or name |