list_pull_requests
Retrieve pull requests from a GitHub repository, ordered by most recent updates, with options to filter by state (open, closed, or all) and limit the number of results returned.
Instructions
List pull requests ordered by most recently updated.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | No | ||
| state | No | open | |
| max_items | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |