Diff snapshots
diff_snapshotsCompare two network snapshots to get a readable diff: added or removed nodes, changed connections, and parameter changes with before/after values. Use before and after edits to see exactly what changed.
Instructions
Compare two network snapshots (from snapshot_td_graph) and return a readable diff: which nodes were added or removed, which connections changed, and which parameters changed (with before/after values). Snapshot before an edit and after to see exactly what changed, or to version a patch over time. Pure analysis — touches nothing in TouchDesigner.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "diff_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Later snapshot to compare against. | |
| before | Yes | Earlier snapshot (from snapshot_td_graph, include_params for param diffs). |