get_merge_request
Retrieve detailed information about a specific GitLab merge request using project ID and either merge request IID or source branch name to access code review status and changes.
Instructions
Get details of a merge request (Either mergeRequestIid or branchName must be provided)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| merge_request_iid | No | The IID of a merge request | |
| source_branch | No | Source branch name |
Input Schema (JSON Schema)
{
"properties": {
"merge_request_iid": {
"description": "The IID of a merge request",
"type": "number"
},
"project_id": {
"description": "Project ID or complete URL-encoded path to project",
"type": "string"
},
"source_branch": {
"description": "Source branch name",
"type": "string"
}
},
"required": [
"project_id"
],
"type": "object"
}