list_branches
Retrieve branches from a Bitbucket repository, supporting name filtering and pagination to navigate results.
Instructions
List branches for a 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>",
"repositorySlug": "<repositorySlug>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of branches to return (default: 25) | |
| start | No | Starting index for pagination (default: 0) | |
| filterText | No | Filter branches by name (partial match) | |
| projectKey | Yes | The Bitbucket project key | |
| repositorySlug | Yes | The repository slug |