diff_diff_text
Compare two text strings and output a unified diff, including statistics on added, removed, and unchanged lines, and a change flag.
Instructions
[diff] Compare two text strings and return a unified diff. Returns {unified: str, added_lines: int, removed_lines: int, unchanged_lines: int, has_changes: bool}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_a | Yes | ||
| text_b | Yes | ||
| context | No | ||
| label_a | No | ||
| label_b | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |