status
Read one run's current state without waiting, including progress, tokens, errors, and pending approval; use await to block until it finishes.
Instructions
Read one run's current state at once, without waiting; use await to block until runs finish. Returns handle, status (Running, AwaitingApproval, Completed, Failed or Cancelled), answer once Completed, error once Failed or Cancelled, parent and children handles, turns, toolCalls, failedToolCalls, prompt, cached and completion tokens, elapsedSeconds, budget when one was set, and pendingApproval {tool, arguments} while AwaitingApproval. An unknown handle returns {handle, error: "unknown handle"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Handle returned by spawn. |