get_commit
Retrieve detailed information about a specific GitLab commit by entering the project path and SHA. Optionally return commit stats for analysis.
Instructions
Get commit details from a 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": {
"project": "<project>",
"sha": "<sha>"
},
"name": "get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| stats | No | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||