Rotate PDF Pages
pdf_rotateRotate pages of a PDF locally by 90, 180, or 270 degrees clockwise, choosing all pages or specific ones, so files stay on disk without uploads.
Instructions
Rotate all or specific pages of a PDF locally by 90, 180, or 270 degrees clockwise.
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": {
"inputPath": "<inputPath>",
"angle": "<angle>"
},
"name": "pdf_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | Clockwise rotation angle in degrees (90, 180, or 270) | |
| pages | No | 1-based pages to rotate, e.g. "1,3-4" or "all" | all |
| inputPath | Yes | Local PDF file path | |
| outputPath | No | Optional output PDF path |