Rotate pages
pdf_rotateCall 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 | Name of an uploaded PDF (pdf_upload), or one this server wrote earlier | |
| 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 | Name for the rotated PDF; it comes back as a download link valid for one hour | |
| overwrite | No | Replace out_path if it exists. Default false |