Split a PDF
pdf_splitSplit a PDF into separate files by comma-separated page ranges or one file per page, saving each result to a chosen output folder.
Instructions
Split one PDF into several new files: one per comma-separated range (mode "ranges"), or one per page (mode "pages"). Files are written to output_folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ranges | |
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| pages | No | Page numbers or ranges, such as "1, 3-5". Omit for every page. | |
| output_folder | Yes | Folder for the new files, inside an allowed folder; created if missing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputs | Yes |