list_pull_requests
List pull requests from a GitHub repository with options to filter by state, base branch, head branch, and sort order. Read-only access.
Instructions
List pull requests for a GitHub repository. Read-only.
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 |
|---|---|---|---|
| base | No | ||
| head | No | ||
| repo | Yes | ||
| sort | No | updated | |
| owner | Yes | ||
| state | No | open | |
| direction | No | desc | |
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||