List pull requests
list_prsList GitHub pull requests with multi-page pagination and compact triage output for quick review.
Instructions
List pull requests with multi-page pagination and a compact triage-oriented response.
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_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Filter by base branch | |
| head | No | Filter by head owner:branch | |
| page | No | First GitHub API page (default 1) | |
| repo | Yes | GitHub repository name | |
| owner | Yes | GitHub repository owner or organization | |
| state | No | Pull request state | |
| per_page | No | Items per page (default 100) | |
| max_pages | No | Maximum pages to fetch (default 10) |