Convert PDF to Image
convert-pdf-to-imageRender PDF pages as images (PNG/JPG/...) at a given DPI. Always runs asynchronously and returns a job id; poll "check-job-status" or provide "webhook_url" to receive a callback.
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": "<file>",
"image_type": "<image_type>"
},
"name": "convert-pdf-to-image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | DPI between 1 and 300. | |
| file | Yes | Publicly reachable URL of the PDF file to render. | |
| pages | No | Page-range expression. Omit to render all pages. | |
| color_mode | No | Color mode for the output images. | |
| image_type | Yes | Output image format. | |
| webhook_url | No | Callback URL invoked when the async job finishes. Omit and poll "check-job-status" instead if no callback endpoint is available. |