worker_cancel
Terminate a running or queued delegated task and its worker process tree, returning the task's final state.
Instructions
Cancel a running or queued delegated task and terminate its worker process tree. Returns the task's terminal state.
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": {
"task_id": "<task_id>"
},
"name": "worker_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |