get_branch
Retrieve detailed branch information from Bitbucket by supplying repository and branch names. Workspace resolution is handled automatically.
Instructions
Returns details for a specific branch. Requires repo and branch, and resolves workspace via the standard precedence.
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": "<repo>",
"branch": "<branch>"
},
"name": "get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| branch | Yes | ||
| workspace | No |