Rotate pages
pdf_rotateRotate PDF pages by 90-degree increments, clockwise for positive angles. Adds to existing page rotation and saves a new file, supporting page ranges.
Instructions
Call this tool to turn pages by a multiple of 90 degrees, clockwise for positive. Rotation is added to whatever the page already had, for a sideways scan. Writes a new file. Free tier: files up to 30 pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The source PDF | |
| pages | No | Which pages to turn, e.g. "1" or "2,4-6". Omit for every page | |
| degrees | Yes | 90, 180, 270 or -90. Positive turns clockwise. Added to the page's existing rotation | |
| out_path | Yes | Where to write the rotated PDF | |
| overwrite | No | Replace out_path if it exists. Default false |