reorder_pages
Rearrange PDF pages into a specified order and save the result to a new file.
Instructions
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_path": "<input_path>",
"page_order": "<page_order>",
"output_path": "<output_path>"
},
"name": "reorder_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | 元のPDFファイルのパス | |
| page_order | Yes | 新しいページ順序(1始まり)の配列。例: [1, 3, 2, 5, 4] | |
| output_path | Yes | 出力先のファイルパス |