merge
Integrate two .abhi memory branches and a common base into one output file, surfacing conflicting edits as CONTRADICTS edges.
Instructions
Three-way merge branching .abhi memory files (waggle merge). Merges left and right branches against a common base into one output file. Conflicts surface as CONTRADICTS edges — nobody else can do this. Use --merge-strategy to control winner selection when both sides changed the same object.
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_input_path": "<base_input_path>",
"left_input_path": "<left_input_path>",
"right_input_path": "<right_input_path>",
"output_path": "<output_path>"
},
"name": "merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | Destination path for the merged .abhi file. | |
| merge_strategy | No | Winner strategy when both sides changed the same object differently. | prefer_right |
| base_input_path | Yes | Path to the common base .abhi file. | |
| left_input_path | Yes | Path to the left branch .abhi file (ours). | |
| right_input_path | Yes | Path to the right branch .abhi file (theirs). |