bb_list_pull_requests
List pull requests in a Bitbucket repository with optional state filtering to find open, merged, declined, or superseded PRs.
Instructions
List pull requests in a Bitbucket repository, optionally 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_slug": "<repo_slug>"
},
"name": "bb_list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| state | No | Filter by PR state | |
| pagelen | No | Number of results per page (max 50) | |
| repo_slug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace slug (uses default if not provided) |