Get Commit Diff
gitlab_get_commit_diffRetrieve the diff for a specific commit in GitLab, using guardrails to prevent oversized responses.
Instructions
Retrieve the diff for a specific commit, subject to diff-size guardrails.
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_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| unidiff | No | ||
| project_id | Yes |