github_compare_commits
Compare branches or commits to view differences, changed files, and commit history in GitHub repositories.
Instructions
Compare two branches or commits. Shows diff, files changed, and commits.
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": {
"base": "<base>",
"head": "<head>"
},
"name": "github_compare_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base branch/commit | |
| head | Yes | Head branch/commit |