bb_create_repository
Create a new Bitbucket repository under an existing project. Optionally fork from another repository or start empty with a master branch; private by default.
Instructions
Create a new repository under an existing project. Defaults: empty repo with initial 'master' branch, private. Set 'forkFrom' to fork from another repo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name; defaults to slug if omitted | |
| forkFrom | No | Fork from another repo. Format 'PROJECT-KEY/repo-slug'. Optional. | |
| isPublic | No | Public (visible to all logged-in users). Default false. | |
| repoSlug | Yes | Exact lowercase repo SLUG as returned by bb_search_repositories / bb_detect_repo (e.g. 'tata_karen'), not a display name (e.g. 'karen'). | |
| emptyRepo | No | Initialize with an empty repo + initial commit. Default true. | |
| projectKey | Yes | Exact uppercase Bitbucket PROJECT KEY as returned by bb_list_projects / bb_search_repositories / bb_detect_repo (e.g. 'USDMF'). Never pass a display name or a guessed value. | |
| description | No |