pdf_to_bmp
Convert PDF pages to BMP images with options for DPI, page ranges, and output directory.
Instructions
Render PDF pages as BMP 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": {
"file": "<file>"
},
"name": "pdf_to_bmp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Resolution in DPI (default 150) | |
| file | Yes | Absolute path to the PDF file | |
| pages | No | Page ranges like "1-3,5" (default: all pages) | |
| output_dir | No | Output directory (default: same as input) |