delete_draft_note
Delete a draft note from a GitLab merge request to remove unneeded feedback before finalizing. Requires project ID, merge request IID, and draft note ID.
Instructions
Delete a draft note. Use this only after verifying the target; choose a get or list tool first when you need to inspect state without changing it. It changes or removes remote GitLab data and may be irreversible; it requires the necessary project or group permission and returns validation, conflict, permission, or rate-limit errors. 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 |
|---|---|---|---|
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. | |
| 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 |