gitlab_get_merge_request
Fetch a GitLab merge request by project ID and MR IID, optionally including commits, diffs, notes, and pipelines for complete review.
Instructions
Gets an MR and optionally commits, diffs, notes, and pipelines.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"mergeRequestIid": "<mergeRequestIid>"
},
"name": "gitlab_get_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Numeric ID or path with namespace, e.g. group/project. | |
| includeDiffs | No | ||
| includeNotes | No | ||
| includeCommits | No | ||
| mergeRequestIid | Yes | ||
| includePipelines | No |