pdf_splitter
Split a PDF file into multiple documents by specifying page ranges. Save the output files in a designated directory, enabling organized document management and simplified processing.
Instructions
Split a PDF file into multiple files
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inputPath | Yes | Path to the input PDF file | |
outputDir | Yes | Directory where split PDFs should be saved | |
pageRanges | Yes | Array of page ranges to split |
Input Schema (JSON Schema)
{
"properties": {
"inputPath": {
"description": "Path to the input PDF file",
"type": "string"
},
"outputDir": {
"description": "Directory where split PDFs should be saved",
"type": "string"
},
"pageRanges": {
"description": "Array of page ranges to split",
"items": {
"properties": {
"end": {
"type": "number"
},
"start": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"inputPath",
"outputDir",
"pageRanges"
],
"type": "object"
}