bb_get_commit_diff
Fetch the raw diff introduced by a commit relative to its parent to review code modifications directly in Bitbucket.
Instructions
Get the raw diff introduced by a single commit (the changes the commit makes relative to its parent).
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"commitId": "<commitId>"
},
"name": "bb_get_commit_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commitId | Yes | Full commit SHA | |
| repoSlug | Yes | ||
| projectKey | Yes |