list_branches
List branches in a Bitbucket repository, with optional name filtering and pagination, to identify available branches for review or management.
Instructions
List branches in 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": {
"repo_slug": "<repo_slug>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | Filter branches by name | |
| repo_slug | Yes | Repository slug |