wait_for_job
Wait for a specific job to finish and retrieve its durable terminal result, including exit code, logs, and artifacts, even after a client disconnect.
Instructions
Wait once for a known job_id and consume its durable terminal result.
Returns state, exit code, bounded logs, and declared Artifacts. A client-side timeout or disconnect does not cancel the Job; call this tool again later with the same job_id. Do not use it to start work, do not poll it repeatedly, and use wait_for_completions instead when collecting several independent Jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||