List pull requests
bb_list_pull_requestsRetrieve pull requests from a Bitbucket repository, applying optional state or query filters to focus on relevant results.
Instructions
Lists pull requests in a repository, optionally filtered by state or a Bitbucket query string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort field, e.g. "-created_on". | |
| query | No | Bitbucket query language filter, e.g. author.username="jdoe". | |
| state | No | Filter by PR state. Defaults to OPEN if omitted by Bitbucket. | |
| pagelen | No | Results per page (max 50). | |
| repoSlug | No | Repository slug. Falls back to BITBUCKET_REPO_SLUG if omitted. | |
| workspace | No | Bitbucket workspace slug. Falls back to BITBUCKET_WORKSPACE if omitted. |