text_diff
Compare two texts and identify line-by-line differences to quickly spot changes or revisions.
Instructions
Compare two texts and show the differences line by line.
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 | Original text | |
| text2 | Yes | Modified text |