pdf_render_pages
Render PDF pages to PNG images for visual inspection of redactions, splits, signatures, charts, or layouts. Returns page artifact IDs and preview images.
Instructions
Render PDF pages to images, so a page can be looked at rather than read.
Use it to see what a page looks like: checking a change landed (did a redaction remove content, did a split cut where intended), previewing, and pages where appearance is the content — handwriting, signatures, charts, checkbox state.
For reading a scan prefer pdf_ocr, whose text layer is searchable and needs no vision model; render when OCR is unavailable or would mangle what matters.
Every page is saved as a PNG artifact and its id returned. With view, the
default, the first few images also come back to be looked at, since images are
expensive in context. Limits are explicit: 20 pages per call, and resolution is
reduced for a page that would be enormous — both reported, never silent.
Args: ref: PDF file path, or a workspace artifact id. pages: Which pages: "1-20", "3", "1,5,9-12" or "all". Defaults to all, up to the per-call limit. dpi: Resolution, 36 to 600. 150 suits reading and previewing. view: Return the images to look at, not just artifact ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| ref | Yes | ||
| view | No | ||
| pages | No |