Wait for run
wait_for_runPoll a run until it completes or times out, then return the final status.
Instructions
Poll a run until it reaches a terminal state (complete/partial/failed) or the timeout. Returns the final run status.
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": {
"runId": "<runId>"
},
"name": "wait_for_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| timeoutSeconds | No | default 600 |