get_repo_branches
List branches in a Bitbucket Server repository using project key and repo slug, with optional filter text to search specific branch names.
Instructions
List branches in a Bitbucket Server 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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>"
},
"name": "get_repo_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | Yes | The repository slug | |
| filterText | No | Optional filter to search branch names | |
| projectKey | Yes | The project key (e.g., PROJ) |