gitlab_get_merge_request
Retrieve detailed information about a specific GitLab merge request using its internal ID, including state, branches, participants, labels, and timestamps.
Instructions
Get full information about a merge request by internal ID (iid).
Includes state, branches, author, assignees, reviewers, labels, conflict status, description and timestamps.
Examples:
- "Show me the description and state of !42" → mr_iid=42
- Don't use to see changed files — use gitlab_get_merge_request_changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mr_iid | Yes | Merge request IID (project-local number shown as '!42'). | |
| project_path | No | GitLab project path (e.g. 'my-org/my-repo'). When omitted, the default from GITLAB_PROJECT_PATH env var is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iid | Yes | ||
| title | Yes | ||
| description | Yes | ||
| state | Yes | ||
| source_branch | Yes | ||
| target_branch | Yes | ||
| author | Yes | ||
| assignees | Yes | ||
| reviewers | Yes | ||
| labels | Yes | ||
| merge_status | Yes | ||
| has_conflicts | Yes | ||
| changes_count | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| merged_at | Yes | ||
| web_url | Yes |