Get Merge Request Context
get_merge_request_contextAggregate merge request details—notes, commits, pipelines, reviewers, and linked issues—in a single call, replacing multiple separate requests.
Instructions
Bundle MR body, all notes (paginated up to maxNotes, filtered to non-system by default), commits, pipeline summary, reviewers with approval state, and issues this MR will close into a single call. Use this instead of fanning out across get_merge_requests + get_notes + get_merge_request_commits + get_merge_request_pipelines when investigating an MR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Full project path (e.g. "my-group/my-project") | |
| iid | Yes | Merge request IID | |
| maxNotes | No | Cap on notes fetched. Default 100. | |
| maxCommits | No | Cap on commits fetched. Default 50. | |
| includeSystemNotes | No | Include system-generated notes. Default false. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |