pdf_split
Split a PDF into multiple files with a set number of pages each, saving output to a chosen folder without overwriting existing files unless allowed.
Instructions
Split a PDF into parts of N pages each. Writes new PDFs into a folder and never overwrites one unless overwrite=true.
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": {
"input_path": "<input_path>",
"output_dir": "<output_dir>"
},
"name": "pdf_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| input_path | Yes | ||
| output_dir | Yes | ||
| pages_per_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| files | Yes | ||
| output_dir | Yes | ||
| total_pages | Yes | ||
| pages_per_file | Yes |