rasterize_pdf
Rasterize PDF pages into images by converting vector content to bitmap, with adjustable DPI.
Instructions
Convert PDF pages to images and back (rasterizes vector content).
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>"
},
"name": "rasterize_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Rasterization DPI (default 150) | |
| file | Yes | Absolute path to the PDF file | |
| output_name | No | Output file path (defaults to same dir with suffix) |