create_repository
Creates a new Bitbucket repository in a specified project; use list_projects first to find the project key when the target project is unknown.
Instructions
Create a new repository in a Bitbucket project. Use list_projects first to find the project key.
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": {
"name": "<name>"
},
"name": "create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository name. | |
| project | No | Bitbucket project key (e.g., ~username for personal projects). If omitted, uses BITBUCKET_DEFAULT_PROJECT. | |
| forkable | No | Whether the repository is forkable (default: true). | |
| description | No | Repository description. | |
| defaultBranch | No | Default branch name (default: main). |