Get merge request file patch
get_merge_request_file_patchRetrieve the patch for a specific file in a GitLab merge request by scanning paginated diffs, returning patch metadata and hunks.
Instructions
Find one exact changed path across paginated merge-request diffs and return its patch metadata and hunks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| unidiff | No | ||
| max_pages | No | ||
| merge_request_iid | Yes | Project-scoped internal ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |