rotate_pdf
Rotate pages in a PDF by 90, 180, or 270 degrees. Specify a page range or rotate all pages. Returns base64-encoded rotated PDF.
Instructions
Rotate pages in a PDF.
Args: pdf_base64: Base64-encoded PDF file. angle: Rotation angle in degrees (90, 180, 270). pages: Page range to rotate (e.g. "1-3", "all"). Default: all pages.
Returns: Base64-encoded rotated PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_base64 | Yes | ||
| angle | Yes | ||
| pages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |