Get Commit
gitlab_get_commitRetrieve a GitLab commit by SHA from a specified project, optionally including stats, to inspect changes and verify revision details.
Instructions
Get one commit by SHA.
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": {
"sha": "<sha>"
},
"name": "gitlab_get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| stats | No | ||
| project_id | No |