diff
Compare two texts or files to show line-by-line or inline word/character changes, with options to ignore whitespace and case.
Instructions
Diff two texts/files: unified line diff, or word/char inline [-old-]{+new+}; ignore whitespace/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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| mode | No | ||
| a_path | No | ||
| b_path | No | ||
| context | No | ||
| ignore_case | No | ||
| ignore_whitespace | No |