bitbucket_get_commit_changes
Retrieve the list of file changes introduced by a specific commit in a Bitbucket repository. Specify workspace, repository, and commit ID to get a detailed JSON summary of modifications.
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.
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>",
"commit_id": "<commit_id>"
},
"name": "bitbucket_get_commit_changes"
}
}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 |