apply_suggestions
Batch-apply code review suggestions to a merge request by passing suggestion IDs, resolving multiple review comments in one action.
Instructions
Apply multiple suggestions in batch to the merge request.
Args: suggestion_ids: List of suggestion IDs to apply
Returns: Confirmation message with batch apply details
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": {
"suggestion_ids": "<suggestion_ids>"
},
"name": "apply_suggestions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suggestion_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |