getApiJob
Poll the status of a generation job started by any tool. Every tool returns {id, status}; call getApiJob with that id until status is succeeded (then read result, shaped exactly like the tool's documented output) or failed (read error). Poll every few seconds, or pass wait: 30 to long-poll - the call is held up to 30 seconds (max 60) and returns as soon as the job finishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| wait | No | Seconds to long-poll for a terminal state (0-60). Defaults to 0 (return immediately). |