github.list_prs
List pull requests in a GitHub repository, filtered by state (open, closed, etc.). Specify owner, repo, and state to get PR details with pagination support.
Instructions
List pull requests in a repository, filtered by state.
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": "github.list_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| repo | Yes | ||
| owner | Yes | ||
| state | No | open | |
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |