bb_delete_branch
Delete a branch from a Bitbucket repository. Requires explicit confirmation to permanently remove the branch.
Instructions
Delete a branch from a Bitbucket repository (destructive action, requires confirmation)
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>",
"confirm": "<confirm>"
},
"name": "bb_delete_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Branch name to delete | |
| confirm | Yes | Must be true to confirm this destructive action | |
| repo_slug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace slug (uses default if not set) |