manage_branches
Create or delete branches in a repository. Prevents deletion of the default branch.
Instructions
Manage branches in a repository. Actions: "create" (create a new branch), "delete" (delete a branch). Refuses to delete the default branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform. | |
| branch | Yes | Branch name. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| repository | Yes | Repository slug. | |
| startPoint | No | Ref to branch from (create only). |