pdf_reorder_pages
Rearrange PDF pages into a new order by specifying a 1-based sequence, then save the result to a separate file.
Instructions
Reorders pages. [Input: PDF (.pdf) | Output: PDF (.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>",
"order": "<order>",
"output": "<output>"
},
"name": "pdf_reorder_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| order | Yes | The new 1-based page order, e.g., '3,2,1'. | |
| output | Yes | File path for the reordered output. |