List Pull Requests Tool
list_pull_requests_toolList pull requests for a GitHub repository.
Instructions
List pull requests for 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": {
"repo": "<repo>"
},
"name": "list_pull_requests_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| repo | Yes | Repository name | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| state | No | Filter by state (open, closed, all) | open |
| per_page | No | Results per page, max 100 (default: 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||