compare_branches
Render a side-by-side Mermaid sequence diagram comparing two branches of a design, preset, or feature, so you can see exactly how their version histories diverge before merging or cherry-picking.
Instructions
Render a side-by-side comparison of two branches as a Mermaid sequenceDiagram.
Free door, tiered answer — Free: Branch · merge · cherry-pick · undo, on the designs you keep · Pro: Branch · merge · cherry-pick · undo, on every design · Business: ✓ · Enterprise: ✓.
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": {
"artifact_id": "<artifact_id>",
"branch_a": "<branch_a>",
"branch_b": "<branch_b>"
},
"name": "compare_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_a | Yes | Name of the first branch. | |
| branch_b | Yes | Name of the second branch. | |
| artifact_id | Yes | The design / preset / feature id. | |
| artifact_type | No | ``"design"`` (default) / ``"preset"`` / ``"feature"``. Default: "design". |