data_text_diff
Find differences between two text or code snippets. Select line, character, or word mode to highlight changes with precise granularity.
Instructions
文本/代码差异比较。mode 可选 lines(按行)/chars(按字符)/words(按词)
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": "data_text_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | lines | |
| text_a | Yes | ||
| text_b | Yes |