pdf_reorder
Reorder PDF pages by specifying a custom sequence. Change page order to organize documents or create new arrangements from existing PDF files.
Instructions
Reorder pages of a PDF. Provide the desired page order.
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>",
"output": "<output>",
"order": "<order>"
},
"name": "pdf_reorder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the PDF file | |
| output | Yes | Output file path | |
| order | Yes | New page order as array of page numbers (1-based). E.g. [3,1,2] puts page 3 first. |