Update Draft Note
gitlab_update_draft_noteUpdate an existing GitLab merge request draft note by changing its body, position, or discussion resolution state before publishing the review comment.
Instructions
Update a merge-request draft note.
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": {
"merge_request_iid": "<merge_request_iid>",
"draft_note_id": "<draft_note_id>"
},
"name": "gitlab_update_draft_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| position | No | ||
| project_id | No | ||
| draft_note_id | Yes | ||
| merge_request_iid | Yes | ||
| resolve_discussion | No |