approve_merge_request
Approve a merge request by providing the project ID, merge request internal ID, and HEAD SHA to ensure it hasn't changed.
Instructions
Approve 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": "approve_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | HEAD SHA to ensure MR hasn't changed | |
| project_id | No | Project ID or URL-encoded path | |
| merge_request_iid | No | MR internal ID |