Split PDF
split_pdfSplit a PDF into separate files. Without page_ranges every page becomes its own PDF (returned as a ZIP). With page_ranges like "1-3,4-6" each range becomes one PDF. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "split_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable. | |
| filename | No | Original file name, e.g. report.pdf | |
| file_base64 | No | The file content as base64 (only for small files, max 10 MB). Use instead of file_url. | |
| page_ranges | No | Ranges to split into, e.g. "1-3,4-6,7". 1-based page numbers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| file_name | Yes | ||
| download_url | Yes | Link to download the result | |
| expires_in_minutes | Yes | The link stops working after this time (or 3 minutes after the first download) |