github_compare_commits
Compare any two commits, branches, or tags to see exactly what changed. Provide base and head references to retrieve a paginated list of differences.
Instructions
Compare two commits, branches, or tags to see what changed 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": {
"owner": "<owner>",
"repo": "<repo>",
"base": "<base>",
"head": "<head>"
},
"name": "github_compare_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base ref (branch, tag, or SHA) | |
| head | Yes | Head ref (branch, tag, or SHA) | |
| page | No | Page number | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (organization or username) | |
| per_page | No | Results per page (max 100) |