cancel_task
Cancel a queued or scheduled task by task_id. Returns current status if already completed, failed, or cancelled; errors only for unknown task_id.
Instructions
Cancel a queued or scheduled task. Idempotent — if the task is already completed/failed/cancelled this returns the existing status without error. Throws only if task_id is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The id of the task to cancel. |