Cancel a queued or running ZCode task
zcode_cancelStop a queued or running delegated coding task. Running cancellations return only after the worker process tree termination is confirmed.
Instructions
Cancel a queued or running task. Running cancellation returns only after the worker process tree termination is confirmed. Results describe Bridge/ZCode execution only: status 'completed' means the invocation and report normalization finished, NOT that the master agent accepted the work. The master agent must independently review the workspace diff and checks before deciding PASS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | Yes | ||
| attempt | Yes | ||
| task_id | Yes | ||
| exit_code | Yes | ||
| created_at | Yes | ||
| error_code | No | ||
| started_at | Yes | ||
| updated_at | Yes | ||
| worker_pid | Yes | ||
| finished_at | Yes | ||
| zcode_session_id | Yes |