render_pdf
Converts a PDF page to a PNG image at a chosen DPI using pdftoppm, so you can inspect pages without a browser.
Instructions
Render a PDF page as a PNG image using pdftoppm. No browser needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "render_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Resolution in DPI | |
| page | No | Page number to render (1-indexed) | |
| path | Yes | Absolute path to the PDF file |