Render pages
render_pagesConvert selected document pages to PNG images for visual inspection, returning up to four previews and optionally saving them as numbered files.
Instructions
Render document pages to PNG to look at them: returns up to 4 page images and, with save=true, writes _p.png files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| pages | No | 1-based, e.g. "1-3,5" (default 1). | |
| scale | No | Pixels per point for the returned images (1 ≈ 72 dpi). | |
| markup | No | Show comments and tracked changes beside each page. | |
| overwrite | No | Replace existing outputs. | |
| input_path | Yes | ||
| output_dir | No | Absolute output folder (default: next to the input; required for new documents). | |
| save_scale | No | ||
| output_path | No | Absolute output file for the first format (its extension must match). |