comparer_diff_text
Compare two text strings by lines, words, or characters and return structured diff chunks plus a unified preview to identify changes.
Instructions
Compare two strings (lines, words, or chars) and return structured diff chunks and a unified preview, similar to BurpSuite Comparer.
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": {
"left": "<left>",
"right": "<right>"
},
"name": "comparer_diff_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | Baseline / left text. | |
| mode | No | Comparison granularity (default: lines). | lines |
| right | Yes | Modified / right text. |