pdf_rotate
verifiedv0.1Rotates pages of one PDF by 90, 180 or 270 degrees clockwise in the browser and writes the rotation into the file. Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded), delta, and scope kind all or pages with 0-based indices (max 200). Variant URLs are not a second machine Tool — pass delta and scope explicitly. Do not use this to reorder pages (that is pdf_organize) or to extract a range (that is pdf_split).
Updated 9/3/2026 · Created 9/3/2026
Input Schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf",
"delta",
"scope"
],
"properties": {
"pdf": {
"type": "object",
"required": [
"mime",
"base64"
],
"properties": {
"mime": {
"type": "string",
"const": "application/pdf"
},
"base64": {
"type": "string",
"maxLength": 16777220,
"minLength": 1
}
},
"additionalProperties": false
},
"delta": {
"enum": [
90,
180,
270
],
"type": "number"
},
"scope": {
"anyOf": [
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "all"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"indices"
],
"properties": {
"kind": {
"type": "string",
"const": "pages"
},
"indices": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 200
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}Full Contract
{
"name": "pdf_rotate",
"description": "Rotates pages of one PDF by 90, 180 or 270 degrees clockwise in the browser and writes the rotation into the file. Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded), delta, and scope kind all or pages with 0-based indices (max 200). Variant URLs are not a second machine Tool — pass delta and scope explicitly. Do not use this to reorder pages (that is pdf_organize) or to extract a range (that is pdf_split).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf",
"delta",
"scope"
],
"properties": {
"pdf": {
"type": "object",
"required": [
"mime",
"base64"
],
"properties": {
"mime": {
"type": "string",
"const": "application/pdf"
},
"base64": {
"type": "string",
"maxLength": 16777220,
"minLength": 1
}
},
"additionalProperties": false
},
"delta": {
"enum": [
90,
180,
270
],
"type": "number"
},
"scope": {
"anyOf": [
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "all"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"indices"
],
"properties": {
"kind": {
"type": "string",
"const": "pages"
},
"indices": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 200
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}
}GET /api/tool/simpletoolstack.com/pdf_rotate