Rotate PDF Pages
rotate-pdf-pagesRotate one or more pages in a PDF by a multiple of 90 degrees.
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>",
"rotations": "<rotations>"
},
"name": "rotate-pdf-pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Publicly reachable URL of the PDF file to rotate pages in. | |
| async | No | Run the action asynchronously and return a job id instead of the result. Poll "check-job-status" or set "webhook_url" to receive a callback. | |
| rotations | Yes | List of rotation operations. Each item: { "angle": "+90"|"-90"|"180"|..., "pages": "page-range" }. | |
| webhook_url | No | Callback URL invoked when an async job finishes. Only used when "async" is true. |