Wait for agent
herdr_agent_waitBlocks until the specified coding agent reaches a target status, or a settled one by default, returning at once if it already matches.
Instructions
Wait until an agent reaches a status. Without 'until', waits for idle, done, or blocked. Returns immediately if the agent already matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent name (e.g. 'reviewer') or the pane ID hosting the agent (e.g. 'w1:p1'). | |
| until | No | Status to wait for. Omit to wait for any settled status (idle, done, or blocked). | |
| timeout_ms | No | Timeout in milliseconds (max 300000). Default: 120000. |