doc2x_materialize_pdf_layout_json
Wait for a PDF parse task and write the raw Doc2x result JSON (with page layout) to output_path. Prefer passing uid. If only pdf_path is provided, this tool reuses a cached uid or submits a new parse with model='v3-2026' by default.
Instructions
Wait for a PDF parse task and write the raw Doc2x result JSON (with page layout) to output_path. Prefer passing uid. If only pdf_path is provided, this tool reuses a cached uid or submits a new parse with model='v3-2026' by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Doc2x parse task uid returned by doc2x_parse_pdf_submit. | |
| model | No | Optional parse model used only when submitting from pdf_path. Supported values: 'v2' and 'v3-2026'. Defaults to 'v3-2026' for this tool because v2 does not return layout. | |
| pdf_path | No | Absolute path to a local PDF file. If uid is not provided, this tool will reuse cached uid (if any) or submit a new task. | |
| max_wait_ms | No | ||
| output_path | Yes | Absolute path for the output JSON file. The file will be overwritten if it exists. | |
| poll_interval_ms | No |