pdf_rotate
Rotate PDF pages by 90, 180, or 270 degrees clockwise. Choose specific pages or all pages to correct orientation.
Instructions
Rotate pages 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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>",
"rotation": "<rotation>"
},
"name": "pdf_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Pages to rotate (1-indexed). Omit for all pages. | |
| filePath | Yes | PDF file path | |
| rotation | Yes | Clockwise rotation degrees | |
| outputPath | Yes | Output path |