split
Extract specific page ranges from a PDF into separate files. Specify ranges like '1-3,5' to create new PDFs with only those pages.
Instructions
Split a PDF into separate files by page range. E.g. pages "1-3,5" extracts pages 1,2,3,5.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| pages | Yes | Page ranges like "1-3,5,7-9" (1-based) | |
| output_name | No | Output file path (defaults to same dir with suffix) |