oc_task_cancel
Cancel a running background task by providing its task ID. Pending tasks transition to cancelled; terminal tasks remain unaffected.
Instructions
Request cancellation of a background task. Best-effort: the runner aborts the underlying tool at the next work-unit boundary. Terminal tasks are unaffected. PENDING tasks transition straight to CANCELLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | REQUIRED task_id returned by oc_task_start. |