split
Create one PDF per supplied page range, such as '1-3, 4-8, 9-', saving each range as a new file in the output directory.
Instructions
One new PDF per range, for instance '1-3, 4-8, 9-'.
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": {
"path": "<path>",
"ranges": "<ranges>",
"output_dir": "<output_dir>"
},
"name": "split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ranges | Yes | ||
| base_name | No | part | |
| output_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |