Merge request details
gitlab_get_merge_requestFetches merge request details (title, state, branches, reviewers, labels, pipeline, approvals) from GitLab using project ID or local repo path.
Instructions
Returns MR metadata: title, state, branches, reviewers, labels, head pipeline, approvals, and URL.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_get_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Absolute local clone path; resolves project and MR from current branch. | |
| project_id | No | Numeric ID or group/repo path on GitLab. | |
| merge_request_iid | No | Merge request IID. Omit with repo_path to resolve from current branch. |