Get repository commit
get_commitRetrieve a GitLab commit by SHA or ref and optionally include diff statistics. Use this tool to inspect changes and commit details for specific revisions in a project.
Instructions
Fetch a GitLab commit and its optional diff statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Commit SHA or Git ref. | |
| stats | No | ||
| project | Yes | GitLab project ID or full path such as group/project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |