pdf_extract_images
Extracts raster images from a PDF and saves them as PNG or JPEG files to a chosen directory, enabling offline image reuse from documents.
Instructions
Extract raster images from a PDF. [Input: PDF (.pdf) | Output: PNG/JPEG 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_dir": "<output_dir>"
},
"name": "pdf_extract_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| output_dir | Yes | The directory where images will be saved. |