get_merge_request
Fetch merge request details by providing GitLab project ID and merge request IID. Returns a formatted summary of the merge request for review.
Instructions
Fetch merge request details.
Args: project_id: GitLab project ID mr_iid: Merge request IID (internal ID shown in GitLab UI as !123)
Returns: Formatted string with MR details
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": {
"project_id": "<project_id>",
"mr_iid": "<mr_iid>"
},
"name": "get_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mr_iid | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |