Split or Extract PDF Pages
pdf_splitExtract selected PDF pages into one file or split pages into individual single-page PDFs locally, keeping files on disk.
Instructions
Extract specific pages (e.g. "1-3,5") into one PDF, or split all/selected pages into individual single-page PDFs locally. Free tier extracts up to 10 pages at once; PRO is unlimited.
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": {
"inputPath": "<inputPath>"
},
"name": "pdf_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "single_pdf" combines selected pages into one PDF; "per_page" saves one PDF per page into outputDir | single_pdf |
| pages | No | 1-based page numbers/ranges, e.g. "1-3,5" or "all" | all |
| inputPath | Yes | Local PDF file path | |
| outputDir | No | Output directory path when mode="per_page" | |
| outputPath | No | Output PDF path when mode="single_pdf" |