start_merge
Merge a source branch into the current branch and wait for completion. Returns merge progress and conflict details, so you can resolve conflicts before applying the merge.
Instructions
Start merging a source branch into the CURRENT branch (the destination is always the branch the editor is on). Waits for the auto-merge to finish and returns the merge ({ id, mergeProgressStatus, conflicts, numConflicts }). If conflicts is non-empty, resolve them with resolve_conflicts, then apply_merge. Does not reload the editor. When NOT to use: to inspect an in-progress merge (use get_merge).
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": {
"sourceBranchId": "<sourceBranchId>"
},
"name": "start_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closeSource | No | Close the source branch after the merge is finalized (default false) | |
| sourceBranchId | Yes | Id of the branch to merge into the current branch (from list_branches) |