createBranch
Creates a new branch in a Bitbucket Data Center repository from a specified commit or branch, enabling isolated development or feature work.
Instructions
Create a branch
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": {
"repoSlug": "<repoSlug>",
"name": "<name>",
"startPoint": "<startPoint>"
},
"name": "createBranch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| repoSlug | Yes | ||
| projectKey | No | ||
| startPoint | Yes | Commit or branch |