list_pull_requests
List pull requests in a GitHub repository. Filter by open, closed, or all states and set the maximum number to return.
Instructions
List pull requests in a GitHub 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 |
|---|---|---|---|
| repo | Yes | Repository name | |
| limit | No | Maximum number of pull requests to return | |
| owner | Yes | Repository owner (user or org) | |
| state | No | Filter by pull request state | open |