get_commit
Retrieve author, message, date, and files changed for a specific commit by providing the repository slug and commit hash.
Instructions
Get detailed information about a specific commit including author, message, date, and files changed.
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": {
"repo_slug": "<repo_slug>",
"commit_id": "<commit_id>"
},
"name": "get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_id | Yes | The commit hash (SHA). | |
| repo_slug | Yes | The repository slug. | |
| workspace | No | The workspace slug. Optional if BITBUCKET_WORKSPACE env var is set. |