get_branch
Retrieve a Bitbucket branch with its latest commit and open PRs; set include_merged_prs to include merged pull requests.
Instructions
Get a branch with its latest commit and open PRs (include_merged_prs adds merged ones).
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": {
"workspace": "<workspace>",
"repository": "<repository>",
"branch_name": "<branch_name>"
},
"name": "get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Project key (e.g., PROJ) | |
| repository | Yes | Repository slug | |
| branch_name | Yes | ||
| include_merged_prs | No | Default false |