github_list_pull_requests
Retrieve and filter pull requests from a GitHub repository with options to sort, paginate, and filter by state, head, and base branch using the MCP Git Server.
Instructions
List pull requests for a repository with filtering and pagination
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_owner": "<repo_owner>",
"repo_name": "<repo_name>"
},
"name": "github_list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| direction | No | desc | |
| head | No | ||
| page | No | ||
| per_page | No | ||
| repo_name | Yes | ||
| repo_owner | Yes | ||
| sort | No | created | |
| state | No | open |