listBranches
List branches from a Bitbucket repository. Filter by query, control pagination, and fetch up to 1000 items automatically.
Instructions
List branches in a repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Bitbucket workspace name | |
| repo_slug | Yes | Repository slug | |
| q | No | Query string to filter branches | |
| pagelen | No | Number of items per page (Bitbucket pagelen). Defaults to 10 and caps at 100. | |
| page | No | Bitbucket page number to fetch (1-based). | |
| all | No | When true (and no page is provided), automatically follows Bitbucket next links to return all items up to 1000. |