comfy_diff_snapshots
Compare two workflow snapshots or a snapshot against the current workflow to identify added, removed, and modified nodes, returning a structured JSON summary.
Instructions
Diff two snapshots or a snapshot vs current workflow.
Args: id_a: First snapshot ID id_b: Optional second snapshot ID current_workflow: Optional current workflow to diff against
Returns: JSON with added_nodes, removed_nodes, modified_nodes, total_changes
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": {
"id_a": "<id_a>"
},
"name": "comfy_diff_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_a | Yes | ||
| id_b | No | ||
| current_workflow | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |