split_pdf
Extract an inclusive, 1-based page range from a PDF into a new PDF. e.g. from=5,to=10 keeps pages 5–10. Returns base64.
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": {
"pdf": "<pdf>",
"from": "<from>",
"to": "<to>"
},
"name": "split_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last page to keep (1-based, inclusive). | |
| Yes | The PDF as a base64 string or https URL. | ||
| from | Yes | First page to keep (1-based, inclusive). |