get_merge_request
Retrieve details about a specific GitLab merge request using project ID and merge request IID to access code review information.
Instructions
Get information about a specific GitLab merge request
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": {
"mergeRequestIid": "<mergeRequestIid>"
},
"name": "get_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | GitLab project ID or path (aliases: project_id, project_path; e.g., "12345" or "group/project") | |
| mergeRequestIid | Yes | Merge request IID (aliases: merge_request_iid; the number in the MR URL, not the database ID) | |
| workingDirectory | No | Local repository path for auto-detecting project ID (aliases: working_directory, cwd) | |
| remoteName | No | Git remote name used for auto-detecting the project ID | origin |