task_cancel
Cancel a durable task by ID; running tasks require their current lease, while queued, verifying, or repairing tasks need only the task ID.
Instructions
Cancel a durable task. A running task requires its current lease; queued/verifying/repairing tasks can be cancelled by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| leaseId | No | Opaque lease returned by task_claim/task_next. Required while a worker owns the task. |