source_merge_three_way
Merge three OpenSCAD source versions against a common ancestor to combine two branches and surface conflicts for manual resolution.
Instructions
Three-way OpenSCAD source merge.
Needs Kiln Pro.
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": {
"base_source": "<base_source>",
"left_source": "<left_source>",
"right_source": "<right_source>"
},
"name": "source_merge_three_way"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left_label | No | Label written after ``<<<<<<<`` on each conflict, so the reader knows which side the left text came from. Omit it to label the side ``branch_a``. Default: "branch_a". | |
| base_source | Yes | OpenSCAD text of the common ancestor both sides started from. | |
| left_source | Yes | OpenSCAD text of the first branch (branch A). | |
| right_label | No | Label written after ``>>>>>>>`` on each conflict. Omit it to label the side ``branch_b``. Default: "branch_b". | |
| right_source | Yes | OpenSCAD text of the second branch (branch B). | |
| show_base_in_markers | No | When true, each conflict also carries a ``|||||||`` block holding the ancestor's text (diff3 style). Off by default. Default: false. |