td_variant_diff
Compare two saved variants to show added, removed, retyped, rewired, and re-parameterised operators, plus line-level DAT code changes. Moved nodes are separated to reveal real changes.
Instructions
Compare two saved variants of the same project.
The same semantic comparison td_project_diff runs, aimed at two saved states instead of two files: added, removed, retyped, rewired and re-parameterised operators, plus a line diff of changed DAT code. Nodes that only moved are counted separately so they cannot bury a real change.
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>",
"before": "<before>",
"after": "<after>"
},
"name": "td_variant_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| after | Yes | ||
| before | Yes | ||
| show_moves | No | ||
| include_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |