delete_merge_request_discussion_note
Remove a specific comment from a GitLab merge request discussion thread to manage feedback and maintain clean code reviews.
Instructions
Delete a discussion note on a merge request
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or complete URL-encoded path to project | |
| merge_request_iid | No | The IID of a merge request | |
| discussion_id | No | The ID of a thread | |
| note_id | No | The ID of a thread note |
Implementation Reference
- schemas.ts:988-992 (schema)Input schema for the 'delete_merge_request_discussion_note' tool. Defines required parameters: project_id (inherited), merge_request_iid, discussion_id, and note_id. Used for input validation in the MCP tool implementation.export const DeleteMergeRequestDiscussionNoteSchema = ProjectParamsSchema.extend({ merge_request_iid: z.coerce.string().describe("The IID of a merge request"), discussion_id: z.coerce.string().describe("The ID of a thread"), note_id: z.coerce.string().describe("The ID of a thread note"), });