Compare two texts exactly
diff_textFind every difference between two texts, line by line, word by word or character by character, and return counts plus a unified diff. Use this instead of comparing long texts yourself — small changes are easy to miss. Options to ignore whitespace and letter case.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "diff_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | line | |
| changed | No | ||
| original | No | ||
| ignore_case | No | ||
| ignore_whitespace | No |