bb_get_branch
Retrieve branch details including name, latest commit ID, author, and relation to default branch from a Bitbucket repository.
Instructions
Get details for one branch: name, latest commit id and author, relation to default branch.
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>",
"repoSlug": "<repoSlug>",
"branch": "<branch>"
},
"name": "bb_get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name or ref, e.g. 'feature/login' | |
| repoSlug | Yes | ||
| projectKey | Yes |