list_branches
List branches in a Bitbucket repository. Shows branch names, latest commits, and identifies the default branch. Use this to explore available branches, find branch names for checkout or PR creation, or verify branch existence before…
Instructions
List branches in a Bitbucket repository. Shows branch names, latest commits, and identifies the default branch. Use this to explore available branches, find branch names for checkout or PR creation, or verify branch existence before operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of branches to return (default: 25, max: 1000). | |
| start | No | Start index for pagination (default: 0). | |
| project | No | Bitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable. | |
| filterText | No | Filter branches by name (case-insensitive partial match). | |
| repository | Yes | Repository slug to list branches from. |