bb_list_pull_requests
Retrieve pull requests from a Bitbucket repository with filters for state, author, reviewer, or text match on title and description. Returns paginated results.
Instructions
List pull requests in a repository. Filter by state (OPEN default, MERGED, DECLINED), author, reviewer, or text match on title/description. Paginated. Note: projectKey must be the exact uppercase key (e.g. 'USDMF'), not lowercase.
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>"
},
"name": "bb_list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Substring match on title + description | |
| limit | No | ||
| start | No | ||
| state | No | PR filter state (default OPEN). 'SUPERSEDED' is not supported on this server. | |
| author | No | Filter by author username | |
| repoSlug | Yes | Repository slug (lowercase, e.g. 'tata_rasad') | |
| reviewer | No | Filter by reviewer username | |
| projectKey | Yes | Project key — must be the exact registered key, usually uppercase (e.g. 'USDMF') |