list_pull_requests
Retrieve pull requests from a GitHub repository with optional filters for state and sort order.
Instructions
List pull requests in a repository with optional state and sort filters
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 | Repository owner | |
| repo | Yes | Repository name | |
| state | No | PR state filter | open |
| sort | No | Sort field |