getDefaultBranch
Retrieve the default branch of a Bitbucket Data Center repository by repository slug, optionally scoped to a project key.
Instructions
Get the 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": {
"repoSlug": "<repoSlug>"
},
"name": "getDefaultBranch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | Yes | ||
| projectKey | No |