get_merge_request_commits
Retrieve all commits in a GitLab merge request by providing its internal ID (IID).
Instructions
Get all commits in a merge request
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": {
"merge_request_iid": "<merge_request_iid>"
},
"name": "get_merge_request_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge_request_iid | Yes | The IID (internal ID) of the merge request |