pdf_organize
Reorder, duplicate, rotate, or insert blank pages in a 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": {
"fileBase64": "<fileBase64>",
"pageSpecs": "<pageSpecs>"
},
"name": "pdf_organize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSpecs | Yes | Ordered list describing the output PDF's pages -- 'source' with a 0-based index (and optional rotation) to reuse a page from the input, or 'blank' to insert a blank page | |
| fileBase64 | Yes | The input file as a base64 string, without a data: prefix. |