pdf_split
Extract selected pages from a PDF into a new file, preserving form fields on included pages and removing fields from omitted pages. Optionally flatten field values to static content.
Instructions
Extract specific pages from a PDF into a new file. AcroForm fields on the extracted pages are preserved; fields on omitted pages are dropped. Set flatten:true to bake field values into static content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the source PDF file | |
| pages | Yes | Page range to extract, e.g. '1-5' or '1,3,5' | |
| outputPath | Yes | Absolute path for the output PDF | |
| flatten | No | Flatten the extracted form: bake field values into static content and remove interactivity. Defaults to false. |