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)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| reason | No | Why is this task being cancelled? |