diff
Compare two files to identify differences with encoding-aware analysis. Outputs unified diff format with configurable context lines around changes.
Instructions
Compares two files and outputs a unified diff. Encoding-aware: auto-detects file encoding before comparison. Max 50,000 lines per file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_a | Yes | Absolute path to the first file | |
| file_b | Yes | Absolute path to the second file | |
| context_lines | No | Number of context lines around changes (default 3) |