delete_blank_pages_from_pdf
Remove blank pages from PDF files by specifying criteria: no text, no images, or both. Clean up documents automatically and save the result to disk.
Instructions
Delete blank pages from a PDF via PDF4me DeleteBlankPages (/api/v2/DeleteBlankPages). Provide pdf_file_path and delete_page_option (NoTextNoImages, NoText, NoImages). Saves cleaned PDF to disk.
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_file_path": "<pdf_file_path>"
},
"name": "delete_blank_pages_from_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| pdf_file_path | Yes | ||
| output_file_name | No | ||
| request_doc_name | No | ||
| delete_page_option | No | NoTextNoImages |