text_diff
Compare two text files and save the differences to a specified directory. Identify changes between documents by providing file paths.
Instructions
Compare two text files and show differences
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": {
"file1Path": "<file1Path>",
"file2Path": "<file2Path>",
"outputDir": "<outputDir>"
},
"name": "text_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file1Path | Yes | Path to the first text file | |
| file2Path | Yes | Path to the second text file | |
| outputDir | Yes | Directory where diff result should be saved |