text_diff
Generate a unified diff between two text strings. Ideal for comparing file versions before and after edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Context lines around each change (default 3) | |
| modified | Yes | Modified text | |
| original | Yes | Original text | |
| modified_file | No | Label for the modified file (default "modified") | |
| original_file | No | Label for the original file (default "original") |