merge-pdfs-ordered
Combine multiple PDFs into a single file in a user-defined order using patterns or exact filenames for precise arrangement.
Instructions
Merge PDFs in a specific order based on patterns or exact names
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base_path | Yes | Base directory containing PDFs | |
fuzzy_matching | No | Use fuzzy matching for filenames | |
output_path | Yes | Output path for merged PDF | |
patterns | Yes | List of patterns or names in desired order |
Input Schema (JSON Schema)
{
"properties": {
"base_path": {
"description": "Base directory containing PDFs",
"type": "string"
},
"fuzzy_matching": {
"default": true,
"description": "Use fuzzy matching for filenames",
"type": "boolean"
},
"output_path": {
"description": "Output path for merged PDF",
"type": "string"
},
"patterns": {
"description": "List of patterns or names in desired order",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"base_path",
"patterns",
"output_path"
],
"type": "object"
}