Inspect Parsed HTML
inspect_htmlInspect a parsed PDF's text structure as clean HTML pages without page images or bounding boxes.
Instructions
Show the STRUCTURED text output of a parsed document: the canonical extracted nodes rendered as plain webpage-like HTML pages — no page images, no bounding boxes. Omit page to render the available pages together (capped, ~50 pages for long docs); pass page for one specific page. Uses canonical DocumentAgent nodes (not vendor playground facets) and returns status="ready" only when node-backed HTML exists, else a not-ready state. For the visual extraction (page images + bounding-box overlays) instead, use view_document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional 1-indexed page number to inspect. Omit to render every same-document HTML page in one inspector container. | |
| facet | No | Deprecated no-op retained for older clients. inspect_html always renders canonical document nodes. | |
| selector | No | CSS selector/query to run inside the PDFQuery Inspector UI (e.g. "table", "[data-label=Table]"). | * |
| document_id | Yes | okraPDF document ID to inspect. | |
| parse_facet | No | Deprecated no-op retained for older clients. inspect_html always renders canonical document nodes. | |
| parse_if_missing | No | Deprecated no-op retained for older clients. inspect_html never queues a parser run. |