compare_branches
Compare two branches to retrieve the number of commits each is ahead and behind the other.
Instructions
Ahead / behind counts between two branches.
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": {
"repo_path": "<repo_path>",
"branch_a": "<branch_a>",
"branch_b": "<branch_b>"
},
"name": "compare_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_a | Yes | ||
| branch_b | Yes | ||
| repo_path | Yes |