compute.wait_run
compute_wait_runLong-poll a compute run read-only to wait for change, terminal state, phase, or alert, then repeat with after_revision. Never submits or cancels jobs.
Instructions
Bounded read-only long-poll (0 <= timeout_seconds <= 60, also capped by [progress].max_wait_seconds; zero reads cache) for change, terminal state, phase or alert. Not a background notification; repeat with after_revision. Never submits or cancels.
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": "compute_wait_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | change | |
| run_id | Yes | ||
| after_revision | No | ||
| timeout_seconds | No |