events_wait
Waits for matching events after a given sequence number, filtering by kind, pane, workspace, or agent status, and returns after timeout if none arrive.
Instructions
Block until a matching event arrives after since_seq, or until timeout_ms. Typical: kinds=["pane_agent_status_changed"], agent_status=["done","blocked"]. Returns timed_out=true with no events when nothing matched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | ||
| limit | No | ||
| pane_id | No | ||
| since_seq | Yes | ||
| timeout_ms | No | ||
| agent_status | No | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||