list_pull_requests
List pull requests from a GitHub repository by supplying owner and repo. Filter by state, base branch, or head branch, and control pagination with page and per_page.
Instructions
Lista los pull requests de un repositorio
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 | Filtrar por branch de destino | |
| head | No | Filtrar por branch de origen (formato: usuario:branch) | |
| page | No | ||
| repo | Yes | Nombre del repositorio | |
| owner | Yes | Propietario del repositorio | |
| state | No | open | |
| per_page | No |