{"uid":"cap_quY8DYw22cLDW3NlxMSTO","slug":"halowerk-buero-doc-merge-three-way-document-merger-87334f7d","name":"Halowerk Buero Doc-Merge (Three-Way Document Merger)","description":"Takes three documents — the common base and the two versions derived from it — as text, public URLs or inline base64, reads PDF, DOCX, ODT, HTML and Markdown, and returns one merged document. The procedure is diff3 over paragraphs, or over lines if you ask for that: each version is first compared against the base with a Myers shortest-edit-script, the two comparisons together yield the passages that are identical in all three, and each region between them is resolved by rule.","url":"https://buero.halowerk.com/v1/doc-merge","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__dTL8y5PVrSq7JaNjzvPs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a three-way diff3 merge of documents — a common base and two derived versions — resolving conflicts by rule and returning a single merged document.","exampleAgentPrompt":"Merge these three documents for me: the original contract draft is the base, then I have my revised version and the legal team's revised version — use paragraph-level merging and give me back one clean combined document.","exampleUseCases":[{"title":"Reconcile parallel contract revisions","prompt":"I have the original contract as the base, my sales team made edits in one copy and legal made edits in another — can you run a three-way merge on all three DOCX files and give me a single resolved contract?"},{"title":"Merge collaborative manuscript edits","prompt":"Two co-authors each made independent changes to our shared manuscript draft — can you merge both their versions against the original base document into one combined manuscript, using paragraph-level diffing?"},{"title":"Combine diverging policy document versions","prompt":"Our HR policy doc was branched into two separate edited versions and I need to reconcile them back into one — please do a three-way merge of the base policy and the two edited copies and return the merged result."}],"resultDescription":"A single merged document produced by resolving the three-way diff between the base and two derived versions. Identical passages across all three are kept as-is; differing regions are resolved automatically by rule. Output is a clean, unified document in text form.","failureModes":["Unresolvable conflicts if both versions change the same passage differently and no automatic rule applies","Unsupported file format or malformed base64 input causing a parse error","Inaccessible public URL returning a fetch error","Extremely large documents exceeding size or processing limits","Network timeout on slow upstream URL fetches"],"whenToPreferThis":"Choose this endpoint when you have a known common ancestor document and two independently modified versions that need to be reconciled into one — the classic three-way merge scenario from version control. It handles rich document formats (PDF, DOCX, ODT, HTML, Markdown) natively, making it ideal for office workflows where binary formats are common. Prefer it over simple two-way diff tools when you need conflict resolution by rule rather than manual intervention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:28:46.125Z","isFirstParty":false}