pdf_split
Split a PDF into multiple files by page range, or combine specific ranges into one reordered file
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>",
"ranges": "<ranges>"
},
"name": "pdf_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranges | Yes | Semicolon-separated groups, each a comma-separated list of pages/ranges, e.g. '1-3,5;7-9' for two output files | |
| fileBase64 | Yes | The input file as a base64 string, without a data: prefix. | |
| combineIntoOne | No | If true, combines all specified ranges into a single reordered PDF instead of one file per group |