get_merge_request
Retrieve merge request details by IID or source branch, with optional deployment, commit, and approval summaries for review and tracking.
Instructions
Get details of a merge request (merge_request_iid or source_branch required). Set include_summaries=true for deployment/commit/approval summaries. To find resources, use the matching list or search tool.
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>"
},
"name": "get_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. | |
| project_id | Yes | Project ID or URL-encoded path | |
| source_branch | No | Source branch name | |
| include_summaries | No | If true, include deployment, commit, and approval summaries (extra API calls). Default false. | |
| merge_request_iid | No | Merge request IID |