Get Merge Request Tool
get_merge_request_toolFetch a single merge request by project ID and internal IID to inspect its details, changes, and status.
Instructions
Get a single merge request by its IID.
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>",
"merge_request_iid": "<merge_request_iid>"
},
"name": "get_merge_request_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or path | |
| merge_request_iid | Yes | Merge request internal ID (the number shown in the UI, e.g., !42) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||