merge_pdfs
Merge multiple PDF files into a single document. Specify the order of files and optional output location.
Instructions
Merge multiple PDF files into a single file.
Pages are processed in the order specified in the file_paths list,
preserving the original page sequence in the merged document.
Args:
file_paths: List of PDF file paths to merge
output_file: Output filename (optional, auto-generated if not provided)
output_dir: Output directory (defaults to first file's directory)
Returns:
JSON string with merge results and output file informationInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | Yes | ||
| output_file | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |