list_branches
Retrieve a list of branches in a Bitbucket repository, filter by name pattern, and manage pagination with start index and limit parameters.
Instructions
List branches in a repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filter | No | Filter branches by name pattern (optional) | |
limit | No | Maximum number of branches to return (default: 25) | |
repository | Yes | Repository slug (e.g., "my-repo") | |
start | No | Start index for pagination (default: 0) | |
workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") |
Input Schema (JSON Schema)
{
"properties": {
"filter": {
"description": "Filter branches by name pattern (optional)",
"type": "string"
},
"limit": {
"description": "Maximum number of branches to return (default: 25)",
"type": "number"
},
"repository": {
"description": "Repository slug (e.g., \"my-repo\")",
"type": "string"
},
"start": {
"description": "Start index for pagination (default: 0)",
"type": "number"
},
"workspace": {
"description": "Bitbucket workspace/project key (e.g., \"PROJ\")",
"type": "string"
}
},
"required": [
"workspace",
"repository"
],
"type": "object"
}