publish_draft_note
Publish a pending draft note to a GitLab merge request, turning it into a visible comment. Provide the project, merge request IID, and draft note ID to update remote GitLab state.
Instructions
Publish a single draft note. Use this for the specific operation described; choose a sibling tool when you need a different resource or lifecycle action. It changes remote GitLab state and requires the necessary project or group permission; GitLab returns validation, conflict, permission, or rate-limit errors instead of silently applying an invalid request. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| draft_note_id | Yes | The ID of the draft note | |
| merge_request_iid | Yes | The IID of a merge request |