apply_suggestion
Apply a specific suggestion to a merge request by providing its ID, confirming the action, and receiving a confirmation with details.
Instructions
Apply a single suggestion to the merge request.
Args: suggestion_id: Suggestion ID to apply
Returns: Confirmation message with 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_id": "<suggestion_id>"
},
"name": "apply_suggestion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suggestion_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |