wait_job
Pause for up to 600 seconds, or return early when a specified job reaches done or error. Poll model or agent jobs without busy-looping.
Instructions
Sleep for a number of seconds (max 600), then return. With job_id, returns early as soon as that job reaches done/error — use to poll pull_model/run_local_agent without busy-looping get_job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Return early when this job finishes | |
| seconds | Yes | Seconds to wait (fractions allowed) |