github_list_prs
List pull requests from a GitHub repository. Filter by open/closed/all state and set a maximum number to retrieve.
Instructions
List pull requests for a 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": "github_list_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| limit | No | Maximum PRs to return (1–100). Default: 20. | |
| owner | Yes | Repository owner. | |
| state | No | "open", "closed", or "all". Default: "open". | open |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||