compare_branches
Compare two branches to reveal overlapping files and show the differences between them, helping identify conflicts before merging.
Instructions
Compare two branches — show overlapping files and the diff between them
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": {
"branch_a": "<branch_a>",
"branch_b": "<branch_b>"
},
"name": "compare_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_a | Yes | First branch name | |
| branch_b | Yes | Second branch name |