Get Commit Diff
gitlab_get_commit_diffRetrieve a GitLab commit's diff by SHA, with optional project scoping and controls for pagination or full diff output.
Instructions
Get diff for one commit.
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_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| page | No | ||
| per_page | No | ||
| full_diff | No | ||
| project_id | No |