pdf_rotate_pages
Rotate PDF pages by 90, 180, or 270 degrees. Specify page ranges or rotate all pages to adjust document orientation.
Instructions
Rotate pages in a PDF by 90, 180, or 270 degrees. Rotation is additive to any existing rotation. Rotates all pages if no page range is specified.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the source PDF file | |
| pages | No | Page range to rotate, e.g. '1-5' or '1,3,5'. Omit to rotate all pages. | |
| degrees | Yes | Rotation angle: 90, 180, or 270 degrees clockwise | |
| outputPath | Yes | Absolute path for the rotated output PDF |