text_diff
Compare two text strings and get a line-by-line diff. Output shows added lines with '+', removed with '-', and unchanged lines.
Instructions
Compare two strings and show a simple line-by-line diff. Lines prefixed with '+' are additions, '-' are deletions, ' ' are unchanged.
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": {
"text1": "<text1>",
"text2": "<text2>"
},
"name": "text_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text1 | Yes | First text (original) | |
| text2 | Yes | Second text (modified) |