list_branch_restrictions
Retrieve branch protection rules for a Bitbucket repository to manage access controls and enforce security policies on specific branches.
Instructions
List branch restrictions (protection rules) in a repository.
Args:
repo_slug: Repository slug
limit: Maximum number of results (default: 50)
Returns:
List of branch restrictions with kind, pattern, and settingsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| limit | No |