pdf_render
Renders PDF pages as PNG, JPEG, or WEBP images so you can view, share, or reuse document content in image formats.
Instructions
Renders a PDF. [Input: PDF (.pdf) | Output: PNG/JPEG/WEBP images]
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": {
"input": "<input>",
"output": "<output>"
},
"name": "pdf_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| format | No | Output image format: png, jpeg/jpg, webp. Optional, defaults to inferring from output path or png. | |
| output | Yes | The output PDF file path. |