add_mr_note
Add a comment to a GitLab merge request, using dry-run mode to preview changes before committing.
Instructions
Add a comment to a merge request. dry_run=true by default.
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": {
"project_id": "<project_id>",
"mr_iid": "<mr_iid>",
"body": "<body>"
},
"name": "add_mr_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| mr_iid | Yes | MR IID | |
| body | Yes | Comment body (Markdown) | |
| dry_run | No | Dry run mode (default: true). When true, returns a preview of the action without executing it. Set to false only after user confirmation. |