extract_pdf_images
Extract embedded images from PDF files. Supports pagination to retrieve images in small batches for analysis.
Instructions
Extract images from a PDF file with pagination.
Works best when extracting small batches of images (e.g., 10) at a time. Returns a list of image contents and a summary message.
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": {
"pdf_full_path": "<pdf_full_path>"
},
"name": "extract_pdf_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_images | No | Maximum number of images to extract. Recommended: 10. Default: 10. | |
| start_index | No | Starting index for pagination (0-based). Default is 0. | |
| pdf_full_path | Yes | The full absolute path to the PDF file on the local file system. The agent should provide the complete path to ensure the file is found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |