Check a Relay task
check_taskChecks a run_model task, waiting up to 30 seconds for completion and returning the result or current status; call again if still running instead of resubmitting.
Instructions
Checks a task run_model returned (no key needed: the task_id is the capability). Waits up to 30 s for it to finish; returns the result when completed, else its status: then call check_task again, never resubmit. Task results are kept 1 h after they finish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task_id from run_model, e.g. direct:2f9c… | |
| wait_seconds | No | Seconds to wait for it to finish (0–30, default 30); 0 just reads the status. | |
| inline_images | No | Also return images ≤ 1 MB as image content blocks (default false: links only). |