Rotate PDF
rotate_pdfRotate all pages, or selected pages, of 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": {
"file": "<file>",
"angle": "<angle>"
},
"name": "rotate_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF to rotate. | |
| angle | Yes | 90, 180 or 270 degrees (clockwise). | |
| pages | No | Optional 1-indexed page numbers to rotate; omit to rotate every page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||