Get (or wait on) a parse run
get_parse_runGet the state and output of a parse run (parse group) — resume a status: "running" run or inspect a failed one. wait: true blocks until terminal or wait-budget expiry (call again to keep waiting). Supports pageRange/maxChars/rawBlocks output slicing as in parse_document. Follow any llmContext guidance included in results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Block until terminal or budget expiry. Default false. | |
| runId | Yes | The run ID returned by parse_document or list_parse_runs. | |
| maxChars | No | Truncation cap for returned text (default 50000). | |
| pageRange | No | Return only these pages of the output. | |
| rawBlocks | No | Return block-level chunks instead of concatenated markdown. | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| waitSeconds | No | Max seconds to block waiting on the run (clamped to the server wait budget). | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| runId | Yes | ||
| chunks | No | Block-level output (rawBlocks: true). | |
| status | Yes | Terminal status, or "running" (resume via the get tool). | |
| runType | No | ||
| markdown | No | Concatenated page-delimited markdown (default output). | |
| pageCount | No | ||
| truncated | No | ||
| llmContext | No | ||
| failureReason | No | ||
| failureMessage | No |