cancel_task
Cancel a specific task. Use force option to also cancel all open subtasks.
Instructions
Cancel a task. Use force=True to cancel all open subtasks.
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_ref": "<task_ref>"
},
"name": "cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| task_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| affected | No | Subtask ids whose status changed as a side effect of force; omitted when nothing cascaded. |