merge_documents
Merge multiple .docx files into one, with horizontal dividers between each. Ideal for assembling reports, consolidating contracts, or combining chapter files.
Instructions
Combine multiple .docx files into a single document. Each source document is separated by a horizontal divider. Useful for assembling reports, consolidating contracts, or combining chapter files.
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": "merge_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePaths | Yes | Array of paths to .docx files to merge (minimum 2). Files are merged in the order given. | |
| outputPath | Yes | Path where the merged .docx file will be saved |