Cancel a task, subtask or group
cancel_taskWithdraw a sent task, subtask, or group with its id to stop pending recipients from responding; existing answers remain intact.
Instructions
Withdraw something sent earlier: pass a task_id (tsk_...), subtask_id (sub_...) or group_id (grptsk_...). Pending recipients see it as canceled and can no longer answer; answers already given stay. Canceling a group cancels every still-pending instance and reports how many were already finished. Not undoable.
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": {
"id": "<id>"
},
"name": "cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The tsk_ / sub_ / grptsk_ id to cancel. | |
| note | No | Short explanation shown to recipients. | |
| reason | No | Why: plain withdrawal (default), the answer was obtained elsewhere, or a newer task replaces it. | |
| superseded_by | No | With reason `superseded`: the tsk_ id of the replacing task. |