getCommit
Retrieves details for a specific Bitbucket Data Center commit by repository slug and commit ID, with an optional project key to locate the repository.
Instructions
Get a commit
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": {
"repoSlug": "<repoSlug>",
"commitId": "<commitId>"
},
"name": "getCommit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commitId | Yes | ||
| repoSlug | Yes | ||
| projectKey | No |