worker_cancel
Cancel an active Worker owned by the current supervisor session. Provide the task ID to interrupt it immediately, optionally with a reason.
Instructions
Immediately interrupt and cancel an active Worker owned by the current supervisor session.
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": {
"taskId": "<taskId>"
},
"name": "worker_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| taskId | Yes |