bb_create_branch
Create a new branch from a specified commit in a Bitbucket repository.
Instructions
Create a new branch in a Bitbucket repository
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": {
"repo_slug": "<repo_slug>",
"name": "<name>",
"target_hash": "<target_hash>"
},
"name": "bb_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New branch name | |
| repo_slug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace slug (uses default if not set) | |
| target_hash | Yes | Commit hash to branch from |