Diff
diffCompare two files to produce a unified diff with line counts, revealing differences and context lines between paths. Use after an edit dry-run to inspect changes or verify file modifications.
Instructions
Compare two files and return a unified diff with line counts. Pass the two paths as a and b. Use after an edit dry-run to compare against another file, or to inspect changes between two paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First file to compare | |
| b | Yes | Second file to compare | |
| context | No | Number of context lines surrounding each change (default: 3) |