Get Commit
gitlab_get_commitRetrieve a specific GitLab commit by SHA, branch, or tag reference to access its details.
Instructions
Retrieve a specific commit by SHA, branch, or tag reference.
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": {
"project_id": "<project_id>",
"sha": "<sha>"
},
"name": "gitlab_get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| stats | No | ||
| project_id | Yes |