bitbucket_get_commit_changes
Fetch commit changes from a Bitbucket repository branch by commit ID. Filter merges and optionally specify a newer commit hash to view changes.
Instructions
Get commit history for a repository branch.
Args: workspace: Workspace name or project key. repository: Repository name. commit_id: ID of the commit whose changes are being fetched. merges: Filter merges ('include', 'exclude', 'only') (default: include) hash_newest: Fetch changes for a particular commit hash.
Returns: JSON string containing commit history.
Raises: ValueError: If the Bitbucket client is not configured or available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merges | No | Filter merges ('include', 'exclude', 'only') (default: include) | include |
| commit_id | Yes | ID of the commit whose changes are being fetched. | |
| workspace | Yes | Workspace name (Cloud) or project key (Server/DC) | |
| repository | Yes | Repository name | |
| hash_newest | No | Fetch changes for a particular commit hash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |