compare_files
Compare two files and highlight differences in unified, side-by-side, inline, or context formats. Customize output with word-level changes, whitespace ignore, and context lines for precise analysis.
Instructions
Compare two files and show differences with multiple format options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contextLines | No | Number of context lines (default: 3) | |
file1 | Yes | First file path | |
file2 | Yes | Second file path | |
format | No | Diff format | |
ignoreWhitespace | No | Ignore whitespace changes | |
label1 | No | Label for first file | |
label2 | No | Label for second file | |
wordDiff | No | Show word-level differences |