pdf_to_images
Convert PDF pages to PNG images with base64 encoding. Adjust resolution using custom DPI settings.
Instructions
Convert PDF pages to PNG images. Returns a JSON with base64-encoded PNG images for each page. Supports custom DPI settings for resolution control.
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": {
"file_path": "<file_path>"
},
"name": "pdf_to_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Image resolution in dots per inch (default: 150) | |
| format | No | Image format (PNG only) | png |
| file_path | Yes | Path to the PDF file to convert to images |