pdf_delete_pages
Remove specific pages from a PDF by page number or range, then save the modified file to a chosen output path.
Instructions
Deletes specific pages. [Input: PDF (.pdf) | Output: PDF (.pdf)]
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>",
"pages": "<pages>",
"output": "<output>"
},
"name": "pdf_delete_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| pages | Yes | The pages to delete, e.g., '1,3,5-7'. | |
| output | Yes | File path for the modified output. |