run_status
Polls a run for new events or state changes, waiting up to a set number of seconds. Use it to track subagent progress and check whether a run has advanced.
Instructions
Poll a run. Waits up to wait_s for new events or a state change.
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": {
"run_id": "<run_id>"
},
"name": "run_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| wait_s | No | ||
| after_event | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| events | No | ||
| reason | No | ||
| run_id | Yes | ||
| elapsed_s | No | ||
| after_event | No |