gitlab_get_commit_diff
Retrieve the diff of a specific commit from a GitLab project, with truncation for token efficiency.
Instructions
Get a commit's diff (read-only). Truncated for token efficiency.
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": "gitlab_get_commit_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | commit SHA. | |
| project | Yes | numeric ID or 'group/repo' path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||