List pull requests
pr_listList pull requests in a CNB repository and filter results by state, author, target branch, or page size to find relevant reviews or changes.
Instructions
List pull requests with optional filters.
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": "pr_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| repo | Yes | Repository path, e.g. "owner/repo" or "group/subgroup/repo" | |
| state | No | Filter by state | |
| author | No | Filter by author username | |
| base_ref | No | Filter by target branch | |
| page_size | No | Items per page (max 100) |