diff_text
Compare two text blocks line by line to identify added, removed, and unchanged lines for precise change tracking.
Instructions
Line-by-line diff of two text blocks, returning added/removed/unchanged lines
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": "diff_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Original text | |
| b | Yes | Modified text |