get_commit_diff
Fetch the diff of a specific commit in a GitLab project using the project ID and commit SHA or branch/tag name. Returns the changes as JSON.
Instructions
Get changes/diffs of a specific commit. Read-only; missing resources, denied access, and rate limits return errors. project_id/group_id take a numeric ID or URL-encoded path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | The commit hash or name of a repository branch or tag | |
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. | |
| full_diff | No | Whether to return the full diff or only first page (default: false) | |
| project_id | Yes | Project ID or complete URL-encoded path to project |