Read live ZCode execution events
zcode_eventsRead persisted progress events for a delegated coding task, using after_seq to advance and wait_ms to poll until completion or permission decisions.
Instructions
Read persisted progress events for a task. Set view to summary to merge adjacent model text chunks; raw is the default. next_seq advances across all scanned events, including merged chunks. Immediately after submission, report the project path, effective execution path (and worktree path when supplied), and queued/running state from the first events. Keep polling until turn_started or startup failure; before longer monitoring, report the ZCode session, runtime-reported selected model, runtime-reported reasoning level when present, and execution mode. Set after_seq to the last next_seq returned and wait_ms up to 25000. Hidden reasoning is excluded. interaction_requested events include bounded tool/request details needed for a deliberate permission or input decision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| limit | No | ||
| task_id | Yes | ||
| wait_ms | No | ||
| after_seq | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| status | Yes | ||
| task_id | Yes | ||
| has_more | Yes | ||
| next_seq | Yes | ||
| omitted_events | No |