Cancel a queued or running ZCode task
zcode_cancelCancels a queued or running task in the ZCode bridge, waiting for worker process termination confirmation when the task is running.
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 calling host accepted the work. the calling host 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 |