merge_branch
Merge findings from a branch into the main thread with strategies for adding only conclusions, all thoughts, or a summary. Use after a branch produces useful results.
Instructions
Merge findings from a branch back into the main thread as a new thought on main. The branch is marked as merged afterward. Strategies: conclusion_only — adds only the branch conclusion to main; full_integration — adds all branch thoughts to main; summary — generates a condensed summary of the branch on main. Use after a branch has produced useful findings you want on the main thread.
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": {
"branchId": "<branchId>",
"strategy": "<strategy>"
},
"name": "merge_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchId | Yes | The ID of the branch to merge | |
| strategy | Yes | How to merge |