Rotate Pdf
rotate_pdfRotate PDF pages clockwise by 90, 180, or 270 degrees. Select individual pages or ranges, or leave the pages field blank to rotate all pages.
Instructions
Rotate pages in a PDF.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"angle": "<angle>"
},
"name": "rotate_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | Rotation in degrees (clockwise). | |
| pages | No | Pages to rotate, e.g. '1,3,5-7'. Omit to rotate all pages. | |
| source_url | No | Public URL of the PDF. | |
| file_base64 | No | Base64-encoded PDF. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||