create_repository
Create a new repository in a Bitbucket Server project by specifying its name, description, and default branch.
Instructions
Create a new repository in a project.
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 | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| description | No | Repository description. | |
| defaultBranch | No | Default branch name (defaults to 'main' if not set). |