merge_knowledge
Perform a three-way merge of Knowledge Structures by providing a common ancestor and two branches. Obtain the merged structure or a list of conflicts when auto-resolution is impossible.
Instructions
Three-way merge of Knowledge Structures. Provide a common ancestor (base) and two independently evolved branches. Returns the merged structure or a list of conflicts if automatic resolution is impossible.
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": {
"json_data_base": "<json_data_base>",
"json_data_branch_a": "<json_data_branch_a>",
"json_data_branch_b": "<json_data_branch_b>"
},
"name": "merge_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolutions | No | Optional. Per-object conflict resolution strategy. Keys are object IDs. Values: 'branch_a', 'branch_b', null (drop), or a full object definition to override the conflict. | |
| json_data_base | Yes | The common ancestor Knowledge Structure as a JSON string. | |
| json_data_branch_a | Yes | Branch A Knowledge Structure as a JSON string. | |
| json_data_branch_b | Yes | Branch B Knowledge Structure as a JSON string. |