get_default_branch
Retrieve the default branch of a Bitbucket repository by providing project key and repository slug.
Instructions
Get the default branch of a repository.
Args: project_key: The project key. repo_slug: The repository slug.
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": {
"project_key": "<project_key>",
"repo_slug": "<repo_slug>"
},
"name": "get_default_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |