session_wait
Waits for a run to reach a terminal state or require attention, polling up to 50 seconds so agents can monitor progress without blocking.
Instructions
Short long-poll (≤50 s) until the run is terminal (or needs attention). For long runs use the Shell wait_cmd instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | terminal | |
| run_id | Yes | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||