analyze_branches
Analyzes semantic differences between two Git branches, detecting conflicts in code logic, signatures, exports, and cross-file dependencies that Git's textual merge overlooks. Returns a per-file report of all semantic changes and conflicts.
Instructions
Deep semantic analysis between two branches. Returns a detailed per-file report of all semantic changes and conflicts, including cross-file dependency issues.
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": {
"repoPath": "<repoPath>",
"branchA": "<branchA>",
"branchB": "<branchB>"
},
"name": "analyze_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute path to the Git repository | |
| branchA | Yes | First branch to compare | |
| branchB | Yes | Second branch to compare | |
| baseBranch | No | Common base branch (auto-detected if not provided) |