Check a workflow run
check_workflow_runPoll a workflow run by run_id for up to 30 seconds to get its final output, error, or current steps, then call again if still running.
Instructions
Poll a workflow run by run_id, waiting up to wait_seconds (≤ 30) for it to end. Completed → the final output; failed / cancelled → the error; still running → its steps so far: call check_workflow_run again. No key needed: the run_id is the access token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run id returned by run_workflow (`wf:…`). | |
| wait_seconds | No | Seconds to wait for it to finish (0–30, default 30); 0 answers the current state at once. |