Merge PDFs
mergeCombine multiple PDFs into one document while preserving page order. Specify the output path for the merged file.
Instructions
Combine two or more PDFs into one, preserving page order. Outputs to a caller-specified path.
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": {
"paths": "<paths>",
"outputPath": "<outputPath>"
},
"name": "merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Two or more absolute PDF paths to combine, in order. The result preserves pages in the order given. | |
| outputPath | Yes | Absolute path for the combined output PDF. Its parent directory will be created if missing. |