text_diff
Compare two texts to identify line-by-line differences. See what changed between document versions with old and new values.
Instructions
Compare two texts and return line-by-line differences.
Use this to find what changed between document versions.
Returns each differing line with the old and new value.
Parameters:
text_a — First text (the 'before' version).
text_b — Second text (the 'after' version).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text_a": "<text_a>",
"text_b": "<text_b>"
},
"name": "text_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_a | Yes | ||
| text_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |