compare_branches
Compare two Git branches to identify commits in the target branch not present in the base branch, aiding regression analysis.
Instructions
Compare two branches - shows commits in target that are not in base (useful for regression analysis)
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": {
"repository": "<repository>",
"baseBranch": "<baseBranch>",
"targetBranch": "<targetBranch>"
},
"name": "compare_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name | |
| repository | Yes | Repository name or ID | |
| baseBranch | Yes | Base branch (e.g., "main" or "refs/heads/main") | |
| targetBranch | Yes | Target branch to compare (e.g., "develop") | |
| top | No | Max commits to return |