list_pull_requests
List pull requests from a repository with optional filters for state, labels, milestone, and pagination. Use to retrieve PRs for review or analysis.
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": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Owner/username | |
| repo | Yes | Repository name | |
| state | No | ||
| sort | No | Sort field | |
| labels | No | Comma-separated label names | |
| milestone | No | Milestone name or ID | |
| page | No | Page number (starts at 1) | |
| limit | No | Number of results per page (max 50) |