wait_dispatch
Poll a job until it completes, with a 50-second default timeout; the job persists across MCP call cancellations, enabling re-entry with the same job ID.
Instructions
Long-poll a job for up to max_wait_seconds.
Default 50s is intentionally below the typical MCP transport
ceiling (~60s) — call this in a loop and break when status !=
'running'. The underlying job is shielded from cancellation, so
if your MCP call is aborted at the ceiling the work keeps running
and you can re-enter with the same job_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| max_wait_seconds | No |