list_prs
Retrieve pull requests from a repository, newest first. Filter by state (open, closed, or all) and optionally set the owner.
Instructions
List pull requests in a repository, newest first.
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_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (without owner) | |
| owner | No | Repo owner; defaults to GITHUB_DEFAULT_OWNER | |
| state | No | Filter (default open) |