getPullRequests
List pull requests from a repository, filterable by open or closed state, with pagination support via page and per-page parameters.
Instructions
List pull requests of a repository. state filters by open/closed. Supports page/per_page.
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": "getPullRequests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| state | No | Filter by PR state | |
| per_page | No | Items per page |