get_commit
Retrieve specific commit details from a Bitbucket repository using its unique hash to examine changes, review code history, or verify modifications.
Instructions
Get a single commit by its hash.
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": {
"repository_name": "<repository_name>",
"commit_hash": "<commit_hash>"
},
"name": "get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_name | Yes | Name of the repository (repo slug) | |
| commit_hash | Yes | The hash of the commit. |