Compare repository refs
compare_refsCompare two branches, tags, or commits to retrieve their commits and per-file diffs, making change review straightforward.
Instructions
Compare two branches, tags, or commits and return commits plus per-file diffs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| unidiff | No | ||
| straight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |