bitbucket_get_default_branch
Retrieve the default branch name for a Bitbucket repository by providing workspace and repository names.
Instructions
Get the default branch for a repository.
Args: workspace: Workspace name or project key. repository: Repository name.
Returns: JSON string containing default branch information.
Raises: ValueError: If the Bitbucket client is not configured or available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Workspace name (Cloud) or project key (Server/DC) | |
| repository | Yes | Repository name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |