merge_feature_branches
Records a merge between source and target feature branches and opens an interactive 3D stage on the merged result for orbit and zoom inspection.
Instructions
Record a merge — a = source.head, b = target.head. Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link).
Needs Kiln Pro.
INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
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": {
"source_branch_id": "<source_branch_id>",
"target_branch_id": "<target_branch_id>",
"merged_feature_version_id": "<merged_feature_version_id>"
},
"name": "merge_feature_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merged_by | No | Who performs the merge. Omit it to use the caller's own identity: on Kiln's servers the signed-in account (a different name is refused), locally the declared operator or the computer's user name. On a team-owned feature the caller needs push rights, or the merge is refused. | |
| resolutions | No | How conflicts were resolved, as a mapping of text to text, stored on the merge record as given; this tool does not apply or check it. Omit it to store none. | |
| source_branch_id | Yes | Id of the feature branch being merged in. | |
| target_branch_id | Yes | Id of the feature branch being merged into; its head moves to ``merged_feature_version_id``. The merge is refused if that head moved while the merge was being recorded (``CONCURRENT_MODIFICATION``). | |
| merged_feature_version_id | Yes | Id of the existing feature version that is the result of the merge. | |
| ancestor_feature_version_id | No | Feature version id of the common ancestor. When given, the two branch heads are compared against it and any conflicts are stored on the merge record. Omit it to record the merge with no conflict report. |