github_list_pull_requests
List and filter pull requests for a repository by state, base branch, head, and pagination. Access GitHub API PR data with configurable parameters.
Instructions
List pull requests for 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": "github_list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Filter by base branch | |
| head | No | Filter by head user or branch (user:ref-name) | |
| page | No | Page number | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner username | |
| state | No | PR state filter | |
| per_page | No | Results per page |