pdf_reorder
Rearrange PDF pages by specifying a new page order; repeat numbers to duplicate pages.
Instructions
Reorder pages. Can also duplicate pages by repeating numbers in the order array.
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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>",
"pageOrder": "<pageOrder>"
},
"name": "pdf_reorder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | PDF file path | |
| pageOrder | Yes | New page order (1-indexed). Example: [3, 1, 2] puts page 3 first. | |
| outputPath | Yes | Output path |