list_pull_requests
Find pull requests in a GitHub repository by specifying owner and repo. Filter by state, base branch, sort order, and page size to narrow results.
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 |
|---|---|---|---|
| base | No | ||
| repo | Yes | ||
| sort | No | created | |
| owner | Yes | ||
| state | No | open | |
| per_page | No | ||
| direction | No | desc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |