create_branch
Create a new branch in Bitbucket Cloud from a specific commit or existing branch to organize development work and isolate changes.
Instructions
Create a new branch from a specific commit or existing 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": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>",
"name": "<name>",
"target": "<target>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace slug | |
| repo_slug | Yes | The repository slug | |
| name | Yes | New branch name | |
| target | Yes | Target commit hash or branch name |