Cancel Task
cph_task_cancelCancel a task no longer needed, transitioning it from pending, in_progress, or blocked to cancelled. Optionally provide a reason.
Instructions
Cancel a task that is no longer needed.
State machine: pending | in_progress | blocked → cancelled
Args:
task_id: The task to cancel
reason: Why the task is being cancelled (optional but recommended)
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": "cph_task_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| reason | No | Why is this task being cancelled? |