list_pull_requests
Fetch pull requests from a GitHub repository and filter by state, base branch, or head branch to review open or closed changes.
Instructions
List pull requests in a repository
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>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Filter by base branch | |
| head | No | Filter by head branch (user:branch) | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| state | No | Filter by state |