gitlab_get_commit
Retrieve details and diff statistics for a specific commit in a GitLab project. Provide the commit SHA and optionally the project path.
Instructions
Get details and diff stats for a specific commit.
Args: sha: Full or short commit SHA. project_path: GitLab project path, e.g. 'group/project'.
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 | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |