cancel_worker
Cancel a spawned worker using an authorized spawn or child token. Idempotent, so repeated calls have no additional effect.
Instructions
Cancel a spawned worker. Idempotent. Authorised for the root spawn_token, or a child_token belonging to one of the target's ancestors.
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": {
"worker_id": "<worker_id>"
},
"name": "cancel_worker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| worker_id | Yes | ||
| child_token | No | ||
| spawn_token | No | ||
| binding_token | No | Opaque token returned by this agent's join_session or plan_session. Required for reliable identity when logical agents share an MCP connection. |