bitbucket_get_default_branch
Retrieves the default branch for a Bitbucket repository given the workspace and repository name.
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 |