Skip to main content

wait_for_run

Block until the run finishes, polling every 3 seconds, and return its results digest.

info

This is an MCP / CLI convenience — there is no REST wait endpoint. Over raw HTTP, poll GET …/runs/{runId} yourself. See Long-running operations.

Arguments

ArgumentTypeRequiredDescription
runIdintegeryesThe run id from run_feature.
timeoutSecondsintegernoHow long to wait (default 120, max 170).
projectstringnoProject public id (defaults to the configured project).

Tool wait_for_run{ "runId": 214 }.

Result

The same payload as get_run, taken when status left running — or at the timeout.

warning

Timing out cancels nothing. If the digest still says "status": "running", call the tool again with the same runId.