pdf_auto_rotate
Detect text baseline and rotation angle in a PDF to correct page orientation and output an upright PDF.
Instructions
Auto Upright Orientation: Heuristically detect text baseline and rotation angle to automatically upright pages. [Input: .pdf | Output: .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>",
"output": "<output>"
},
"name": "pdf_auto_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| output | Yes |