Split PDF
split_pdfSplit a PDF. Send pages to extract one PDF, ranges for one PDF per range (returned as a zip), or every to split into chunks of N pages. Uses one render.
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": {
"file": "<file>"
},
"name": "split_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF to split. | |
| every | No | Split into parts of this many pages. | |
| pages | No | Pages like "1-3,5,8-" or "last". Ranges can run backwards ("last-1") to reverse order. | |
| ranges | No | One output PDF per range. |