task_cancel
Cancel a running pool task after reviewing its impact. Previews blast radius first; confirm=true to proceed.
Instructions
[WRITE] Cancel a running pool task (e.g. an in-progress image push).
A bare call reads the task and returns blast_radius (task type, state, progress) and cancels nothing; confirm=True cancels. A task whose type or state cannot be read is refused. Work already applied is not rolled back. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True cancels. | |
| pool_id | Yes | The desktop-pool id. | |
| task_id | Yes | The task id (from task_status). |