Get Pull Requests in Range
get_pull_requests_in_rangeGet merged pull requests between two git refs, including labels, linked issues, review counts, and changed files. Pull requests are categorized by label to simplify release note generation.
Instructions
Get all merged pull requests between two refs with full metadata including labels, linked issues, review counts, and files changed. PRs are categorized by label into: breaking, feature, fix, docs, chore, dependencies, other.
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_pull_requests_in_range"
}
}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) |