bitbucket_create_branch
Creates a new branch in a Bitbucket repository, optionally from a specified source branch or commit, to isolate changes or start feature work.
Instructions
Creates 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": {
"workspaceSlug": "<workspaceSlug>",
"repoSlug": "<repoSlug>",
"newBranchName": "<newBranchName>"
},
"name": "bitbucket_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | Yes | Slug of the gateway. | |
| newBranchName | Yes | Name for the new branch. | |
| workspaceSlug | Yes | Slug of the workspace/project. | |
| sourceBranchOrCommit | No | Optional source branch name or commit ID to create the new branch from. Defaults to the gateway's default branch if not specified. |