list_pull_requests
List pull requests of a Bitbucket repository, filterable by state, and receive summaries with id, title, author, branches, comment count, and last update.
Instructions
List pull requests of a repository, filtered by state (default OPEN). Returns a summary per PR: id, title, author, branches, state, comment count and last update. Paginated; next_page is set when more results exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). | |
| repo | Yes | Repository slug, e.g. "my-service" (not the full URL). | |
| state | No | PR state to filter by (default OPEN). | |
| pagelen | No | Results per page (max 50, default 10). | |
| workspace | No | Workspace id. Optional when the BITBUCKET_WORKSPACE env var is set. |