pdf_rotate
Rotate PDF pages — 90-degree steps only (0, 90, 180, 270)
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": {
"fileBase64": "<fileBase64>",
"rotations": "<rotations>"
},
"name": "pdf_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotations | Yes | 1-indexed page number (as a string key) -> rotation in degrees, must each be a multiple of 90 | |
| fileBase64 | Yes | The input file as a base64 string, without a data: prefix. |