getCommit
Retrieve a specific commit's details from a Bitbucket repository by supplying the workspace name, repository slug, and commit SHA.
Instructions
Get a specific commit from a repository
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>",
"repo_slug": "<repo_slug>",
"sha": "<sha>"
},
"name": "getCommit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Commit SHA | |
| repo_slug | Yes | Repository slug | |
| workspace | Yes | Bitbucket workspace name |