get_repository_prs
List pull requests in a GitHub repository with filters for state, sort order, and result limit to review and prioritize code changes.
Instructions
List pull requests for a repository with filtering options
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": "get_repository_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| sort | No | Sort criteria (default: created) | created |
| limit | No | Maximum number of PRs to return (default: 10, max: 100) | |
| owner | Yes | Repository owner (username or organization) | |
| state | No | PR state filter (default: open) | open |