pdf_reorder_pages
Rearrange PDF pages by specifying a custom order with comma-separated numbers. Duplicate pages if needed. Form fields are not preserved in the output.
Instructions
Reorder pages in a PDF. Specify the new page order as a comma-separated string (e.g. '3,1,2'). Duplicates are allowed. Warning: form fields are not preserved.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the source PDF file | |
| pageOrder | Yes | New page order as comma-separated 1-indexed numbers, e.g. '3,1,2,4' or '1,1,2' (duplicates allowed) | |
| outputPath | Yes | Absolute path for the reordered output PDF |