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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>"
},
"name": "check_workflow_run"
}
}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. |