list_branches
Get a list of all branches in a given Bitbucket repository, including each branch's latest commit hash.
Instructions
List all branches in a repository. Returns branch names and latest commit hashes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | The repository slug. | |
| workspace | No | The workspace slug. Optional if BITBUCKET_WORKSPACE env var is set. |