get_merge_request_commits
Retrieve commits for a GitLab merge request. Specify project ID and MR IID, with optional pagination parameters for results.
Instructions
Get the commits for a merge request
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": "get_merge_request_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed) | |
| per_page | No | Results per page (1-100) | |
| project_id | No | Project ID or URL-encoded path | |
| merge_request_iid | No | MR internal ID |