get_branch_restriction
Retrieve a specific branch restriction by its ID to view access control rules for a Bitbucket repository.
Instructions
Get a single branch restriction by its ID.
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": {
"repository_name": "<repository_name>",
"restriction_id": "<restriction_id>"
},
"name": "get_branch_restriction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_name | Yes | Name of the repository (repo slug) | |
| restriction_id | Yes | The ID of the branch restriction. |