csv_diff
Compare two CSV files and report differences. Specify a key field to match records and optionally compare only selected fields.
Instructions
Compare two CSV files and report 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": {
"file1": "<file1>",
"file2": "<file2>"
},
"name": "csv_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file1 | Yes | Absolute path to the first CSV file | |
| file2 | Yes | Absolute path to the second CSV file | |
| keyField | No | Field to use as unique key for matching records | |
| maxDiffs | No | Maximum differences to report (default: 100) | |
| compareFields | No | Specific fields to compare (default: all) |