diff_tables
Compare a Diablo II data table between two game versions by key to identify added or removed rows and columns, plus changed cells with old and new values.
Instructions
What changed in one data table between two patches, e.g. file='weapons.txt', from_version='1.10', to_version='1.13c'. Rows are matched by the table's key (code, name, index, skill, Id..., or key_column), not by position: lists rows added and removed, columns added and removed, and for each changed row only the cells that changed (column: old → new). filter keeps only rows whose key contains that text (e.g. 'Enigma', 'axe'): use it when the result is truncated. Versions as for search_game_data; 1.12a, 1.13d and 1.14d lack many tables, so diff against 1.13c or 1.11b. For one row across every patch, read_game_data version='all' is simpler.
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": {
"file": "<file>",
"from_version": "<from_version>",
"to_version": "<to_version>"
},
"name": "diff_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| filter | No | ||
| key_column | No | ||
| to_version | Yes | ||
| from_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |