wait_agent
Wait until a target agent reaches a requested state such as idle, done, or blocked, failing if no requested state is observed within the timeout.
Instructions
Wait until an agent reaches one of the requested states.
target: pane id like `w17:p1` or an agent name.
until: any of idle, working, blocked, done, unknown. Default: idle, done, blocked.
timeout_ms: the call fails if no requested state is observed in time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | ||
| target | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||