Delete PDF pages
pdf_delete_pagesDelete specified pages from a PDF while keeping remaining pages in order. Specify page numbers or ranges and write the result locally—your file never leaves your machine.
Instructions
Remove the listed pages, keeping everything else in its current order. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Replace the output file if it already exists | |
| input | Yes | Path to the input PDF | |
| pages | Yes | Pages to DELETE, 1-based. e.g. "2,5-7" | |
| output | Yes | Path to write the result |