agy_run_wait
Wait for specific events on runs, such as attention or completion, instead of polling status.
Instructions
Wait for sparse Run events instead of repeatedly polling status.
run_ids is always a list, even for one Run. Supported condition values: any_attention, any_terminal, all_terminal, any_event, plus aliases attention, terminal, finished, finish, complete, completed, result, all_finished, all_complete, and all_completed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| run_ids | Yes | ||
| condition | No | any_attention | |
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||