Extract PDF pages
pdf_extract_pagesExtract selected pages from a PDF and combine them into a new PDF in your specified order, without overwriting existing files.
Instructions
Copy the listed pages, in the order listed, into one new PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| pages | Yes | Page numbers or ranges, such as "1, 3-5". | |
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |