Zovo Document Compare

v1.0.0
io.github.theluckystrike/text-compare Checked 4 days ago Published 28 days ago

Compare two documents for differences and see each word that changed, not a summary.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

compare_documents Compare two documents

Use this when the user wants to compare two documents for differences, compare two versions of a contract, lease, policy or any text, or wants a redline comparison. Put the full text of each version into original_text and revised_text word for word (do not summarize, shorten or fix it); if the user shares screenshots or images of pages, transcribe their text word for word into those fields. For uploaded Word .docx, text PDF or .txt files, pass them in original_file and revised_file. Returns each changed word with the paragraph number, flags changes to numbers, negations and modal verbs (shall,…

ParameterTypeDescription
original_fileobjectThe ORIGINAL version as an uploaded file: Word .docx, text PDF or .txt, e.g. contract-v1.docx.
original_namestring | nullOptional label for the original, e.g. "Lease v1 (March)". Default: the file name or "Original".
original_textstring | nullThe ORIGINAL (older) version, pasted in full and word for word, e.g. "1. The Tenant shall pay rent of $1,200 on the first day of each month.\n2. ...". Keep paragraphs on separate lines. Leave empty wh…
page_sizestring | nullPDF page size: "Letter" (default) or "A4".
revised_fileobjectThe REVISED version as an uploaded file: Word .docx, text PDF or .txt, e.g. contract-v2.pdf.
revised_namestring | nullOptional label for the revised version, e.g. "Lease v2 (landlord edits)". Default: the file name or "Revised".
revised_textstring | nullThe REVISED (newer) version, pasted in full and word for word, e.g. "1. The Tenant may pay rent of $1,250 on the first day of each month.\n2. ...". Leave empty when revised_file is given.
showstring | nullRedline PDF content: "full" (default, the whole revised document with changes marked) or "changes" (only the changed paragraphs).