GitHub Pull Requests
github_pull_requestsList pull requests for a GitHub repository by state, labels, author, and head/base, with cursor pagination and an optional 24h cache to avoid charges.
Instructions
List repo PRs — draft, labels, author{}, head/base, opaque Link cursor (state echoed). Costs ~12 credits (0.4/result). Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).
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": "<repo>"
},
"name": "github_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository URL or owner/name, e.g. vercel/next.js. | |
| cache | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. | |
| limit | No | Max items to return (default 30, max 100). Billed per result. | |
| state | No | open (API default), closed, or all. Echoed as data.state. Docs example uses closed so mergedAt is visible. | |
| cursor | No | Opaque cursor from a previous nextCursor (GitHub Link page=). Not a bare page number. |