list_pull_requests
Retrieve pull requests from a repository filtered by open, closed, or all state—ideal for reviewing pending code changes or tracking merge history.
Instructions
List pull requests in repository filtered by state.
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 | Target repository in 'owner/repo' format. | |
| limit | No | Max results to return (default: 30). | |
| state | No | 'open', 'closed', or 'all' (default: 'open'). |