compare_documents
Compare two DOCX files and generate a tracked-changes output document. Supports comparing revised files against originals or session edits.
Instructions
Compare two DOCX documents and produce a tracked-changes output document. Provide original_file_path + revised_file_path for standalone comparison, or file_path to compare session edits against the original.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original_file_path | No | Path to the original DOCX file. | |
| revised_file_path | No | Path to the revised DOCX file. | |
| file_path | No | Path to the DOCX file. | |
| save_to_local_path | Yes | Path to save the tracked-changes DOCX output. | |
| author | No | Author name for track changes. Default: 'Comparison'. | |
| engine | No | Comparison engine. Default: 'auto'. |