delete_pages
Remove unwanted pages from a PDF by specifying page numbers or ranges, like '2,4-6'. Simplify document management by deleting specific pages.
Instructions
Delete specific pages from a PDF. E.g. pages "2,4-6" removes pages 2,4,5,6.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| pages | Yes | Page ranges to delete, like "2,4-6" (1-based) | |
| output_name | No | Output file path (defaults to same dir with suffix) |