Get Changes Between Refs
get_changes_between_refsGet commits between two git refs enriched with PR metadata, author details, and linked issues to generate release notes.
Instructions
Get all commits between two git refs enriched with associated PR metadata, author information, and linked issues. Uses the GitHub compare API.
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": "get_changes_between_refs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base ref (tag, branch, or commit SHA), the older point | |
| head | Yes | Head ref (tag, branch, or commit SHA), the newer point | |
| repo | Yes | GitHub repository name | |
| owner | Yes | GitHub repository owner (user or organization) |