oc_task_cancel
Cancel a background task using its task ID. Operations stop at the next work-unit boundary, with terminal tasks remaining 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. |