MR context (diff + pipeline + discussions)
gitlab_get_mr_contextFetch merge request diffs and optionally include failed job traces and review discussions for comprehensive review context.
Instructions
Returns MR changes/diff and optionally failed job traces and review discussions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Absolute local clone path; resolves project and MR from current branch. | |
| project_id | No | Numeric ID or group/repo path on GitLab. | |
| trace_max_chars | No | ||
| merge_request_iid | No | Merge request IID. Omit with repo_path to resolve from current branch. | |
| include_discussions | No | When true, includes discussion threads and inline comments. | |
| discussions_per_page | No | ||
| include_failed_jobs_trace | No | When true, attaches logs from failed jobs on head_pipeline. |