screenshot_pdf
Render PDF pages as PNG images (base64-encoded) for use in visual processing or display. Set DPI and choose specific pages to control resolution and scope.
Instructions
Render PDF pages as PNG images (base64-encoded).
Returns JSON list of: { "page_num", "width_px", "height_px", "image_base64" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Screenshot resolution in DPI. Default 150. | |
| pdf_path | Yes | Absolute path to the PDF file. | |
| page_numbers | No | Comma-separated pages to render, e.g. '1,2'. Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |