rotate-pdf
Rotate all pages in a PDF by 0, 90, 180, or 270 degrees to correct orientation or adjust layout. Provide the file and rotation angle, with optional output settings.
Instructions
Rotate all pages in a PDF document by a specified angle
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>",
"rotation": "<rotation>"
},
"name": "rotate-pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to rotate | |
| rotation | Yes | Rotation angle in degrees (0, 90, 180, or 270) | |
| outputDir | No | Output directory path | |
| outputFilename | No | Custom output filename |