create_branch
Create a new branch in a BitBucket repository from a specified source branch, defaulting to 'development'. Optionally, specify repository and workspace.
Instructions
Create a new branch in a BitBucket repository.
Use this tool when the user wants to create a new branch. By default, branches are created from the 'development' branch.
Args: branch_name: Name for the new branch. source_branch: Source branch to create from (default: 'development'). repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace.
Returns: JSON object with the created branch details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| repository | No | ||
| branch_name | Yes | ||
| source_branch | No | development |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |