Compare versions
compare_versionsCompare two saved versions of a Wavelength flow, or one version against the current graph. Nodes are matched by id; edges by source, target, and kind. Returns added, removed, and changed nodes (with the fields that changed), added and removed edges (with labels), and a one line summary.
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": {
"flow_id": "<flow_id>",
"version_a": "<version_a>"
},
"name": "compare_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | The id of the flow. | |
| version_a | Yes | The id of the first version to compare. | |
| version_b | No | Optional id of the second version. Omit to compare against the current graph. |