create_repository
Create a new repository in a Bitbucket Cloud workspace with configurable settings for privacy, language, issue tracking, and project assignment.
Instructions
Create a new repository in the specified workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>"
},
"name": "create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace slug | |
| repo_slug | Yes | The repository slug | |
| name | No | Repository name | |
| description | No | Repository description | |
| is_private | No | Whether the repository is private | |
| language | No | Primary language | |
| has_issues | No | Enable issue tracker | |
| has_wiki | No | Enable wiki | |
| project_key | No | Project key to add repo to |