Compare Files
compare_filesCompare two text files to detect differences and get a diff summary. Use it to check whether file contents match or have changed.
Instructions
Compare two text files and report whether they differ, with a diff summary.
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": {
"path1": "<path1>",
"path2": "<path2>"
},
"name": "compare_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path1 | Yes | First file path | |
| path2 | Yes | Second file path |