Wait for a job (bounded polling)
wait_for_jobPoll a job's status every few seconds until it finishes or hits timeout, returning as soon as it is terminal. Re-call if still running.
Instructions
Polls a job's status every few seconds for up to timeout_s (default 45, max 55 - most MCP clients cut a tool call at 60 s) and returns as soon as it is terminal. If it returns state='running', call it again - craftstory-2 jobs take 8-15 minutes, minimax-h3 1-3 minutes, audio clips seconds. Reports progress notifications when the client supports them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| model | Yes | ||
| timeout_s | No | How long this call may wait (default 45, max 55) |