pdf_rotate
Rotate all or selected pages in a PDF by 90, 180, or 270 degrees, then save the adjusted document to a new PDF file.
Instructions
Rotates pages in a PDF. [Input: PDF (.pdf) | Output: PDF (.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": {
"input": "<input>",
"pages": "<pages>",
"angle": "<angle>",
"output": "<output>"
},
"name": "pdf_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | The angle to rotate by, typically 90, 180, or 270. | |
| input | Yes | The input PDF file path. | |
| pages | Yes | The pages to rotate, either 'all' or specific pages like '1,3'. | |
| output | Yes | File path for the rotated output. |