Compare branches
compare_branchesCompare two branches to reveal ahead/behind counts, common commit, and changed items, clarifying branch divergence.
Instructions
Compare two branches and return ahead/behind counts, common commit, and changed items.
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": {
"repositoryId": "<repositoryId>",
"baseBranch": "<baseBranch>",
"targetBranch": "<targetBranch>"
},
"name": "compare_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| project | No | ||
| baseBranch | Yes | ||
| repositoryId | Yes | ||
| targetBranch | Yes |