Structured text diff
text_diffDiff two texts (lines/words/chars). $0.002 per call.
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 | Original text (left side of the diff) | |
| b | Yes | Modified text (right side of the diff) | |
| mode | No | Diff granularity; defaults to lines |