herdr_agent_wait
Block until an agent reaches a target status like idle or done, providing an alternative to polling loops.
Instructions
Block until the agent reaches one of the given statuses (idle, working, blocked, done, unknown). Alternative to polling agent.get in a loop.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "herdr_agent_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | Statuses to wait for. Returns when the agent reaches any of these. | |
| target | Yes | Agent target (pane id). | |
| timeout_ms | No | How long to wait (null for server default). |