get_branch
Retrieve detailed information about a specific Bitbucket branch, including latest commit details, by providing the repository slug and branch name.
Instructions
Get information about a specific branch.
Args:
repo_slug: Repository slug
branch_name: Branch name
Returns:
Branch info with latest commit details
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>",
"branch_name": "<branch_name>"
},
"name": "get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| branch_name | Yes |