merge combines two to four documents into one and saves the result. All inputs should be the same format family — all PDFs, or all DOCX. Example prompt: “Merge these three PDFs into one document.”
A saved-path message naming the merged document in your output folder. The sources are untouched.
Order is the argument order: file1, then file2, and so on — so “put the appendix last” is a matter of which slot it occupies, and worth stating in the prompt.
For more than four documents, merge in rounds and chain each result into the next call. For mixed formats, convert first — see the FAQ.
On failure the text starts with Merge failed for, followed by the exception type and message.
Example prompts
“Merge part-one.pdf and part-two.pdf into a single document.”
“Combine these three reports, with the appendix last.”
“Join the signed pages into one PDF for the archive.”