pdf_rotate
Rotate PDF pages by 90, 180, or 270 degrees to correct orientation or adjust layout. Specify specific pages or rotate entire documents.
Instructions
Rotate pages of a PDF by 90, 180, or 270 degrees.
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": {
"file": "<file>",
"output": "<output>",
"angle": "<angle>"
},
"name": "pdf_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the PDF file | |
| output | Yes | Output file path | |
| angle | Yes | Rotation angle in degrees | |
| pages | No | Specific pages to rotate (1-based). If omitted, rotates all pages. |