bb_get_merge_base
Find the common ancestor (merge-base) of two commits or branches in Bitbucket using 'branch1..branch2'. Identify the divergence point for merge analysis.
Instructions
Get the common ancestor (merge-base) between two commits or branches. Use "branch1..branch2" format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | JMESPath expression to filter/transform structured response data. Applied before format conversion. Example: "values[].{name: full_name, lang: language}" — see https://jmespath.org for syntax | |
| revspec | Yes | Two commit hashes or branch names separated by ".." (e.g. "main..feature-branch") | |
| repo_slug | Yes | The repository name | |
| workspace | Yes | The workspace or username | |
| output_format | No | Response format: "text" (default, human-readable), "json" (structured JSON), or "toon" (Token-Oriented Object Notation — compact tabular format that reduces LLM token consumption by 30-60%) |