diff_diff_words
Compare two text strings at the word level. Returns an inline diff with '+' for added words and '-' for removed words, plus counts of added and removed words. Ideal for version comparison or text analysis.
Instructions
[diff] Compare two strings at the word level and return an inline diff. Added words are prefixed with '+', removed words with '-'. Returns {inline: str, added_words: int, removed_words: int}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_a | Yes | ||
| text_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |