pdf_merge
Combine multiple PDF files into a single document. Preserves interactive form fields and auto-renames conflicting field names. Optionally flatten form values into static content.
Instructions
Merge multiple PDF files into one. AcroForm fields are preserved; fields whose names collide across inputs are auto-renamed (namespaced by source). Set flatten:true to bake field values into static content.
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": {
"filePaths": "<filePaths>",
"outputPath": "<outputPath>"
},
"name": "pdf_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePaths | Yes | Array of absolute paths to PDF files to merge, in order | |
| outputPath | Yes | Absolute path for the merged output PDF | |
| flatten | No | Flatten the merged form: bake field values into static content and remove interactivity. Defaults to false. |