bitbucket_list_repository_branches
List branches in a Bitbucket repository to inspect available refs, filter by branch name, and sort results for review or automation.
Instructions
Lists branches for 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>"
},
"name": "bitbucket_list_repository_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Optional ordering key (e.g., MODIFICATION, NAME). | |
| query | No | Optional filter text to find branches by name. | |
| repoSlug | Yes | Slug of the gateway. | |
| workspaceSlug | Yes | Slug of the workspace/project. |