Text diff
text_diffLine-level diff of two texts (LCS): counts of added/removed lines plus a marked-up line list. Runs on smart-tools.xyz.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "text_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First (original) text | |
| b | Yes | Second (changed) text | |
| trim | No | Trim each line before comparing (default true) | |
| locale | No | Language for the source_url link (default en) | |
| ignore_case | No | Compare case-insensitively (default false) |