get_page_image
Convert PDF pages to PNG images for text extraction, diagram analysis, or content sharing. Specify page number and resolution to render PDF content as visual files.
Instructions
Render a single PDF page as a PNG image.
Args:
filename: Path to a PDF file.
page: Page number (1-indexed).
dpi: Image resolution. Default 150 (good balance of readability and size).
output: "base64" returns the image inline as MCP image content.
"file" writes to a temp file and returns the path.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| page | No | ||
| dpi | No | ||
| output | No | base64 |