Skip to main content
Glama

update_merge_request_note

Modify or resolve existing comments in GitLab merge request discussions to update feedback and track issue resolution.

Instructions

Modify an existing merge request thread note

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID or complete URL-encoded path to project
merge_request_iidYesThe IID of a merge request
discussion_idYesThe ID of a thread
note_idYesThe ID of a thread note
bodyNoThe content of the note or reply
resolvedNoResolve or unresolve the note

Implementation Reference

  • Zod input schema for the 'update_merge_request_note' tool, validating parameters for updating a note in a merge request discussion thread using GitLab API.
    export const UpdateMergeRequestNoteSchema = ProjectParamsSchema.extend({ merge_request_iid: z.number().describe("The IID of a merge request"), discussion_id: z.string().describe("The ID of a thread"), note_id: z.number().describe("The ID of a thread note"), body: z.string().optional().describe("The content of the note or reply"), resolved: z.boolean().optional().describe("Resolve or unresolve the note"), }) .refine(data => data.body !== undefined || data.resolved !== undefined, { message: "At least one of 'body' or 'resolved' must be provided", }) .refine(data => !(data.body !== undefined && data.resolved !== undefined), { message: "Only one of 'body' or 'resolved' can be provided, not both", });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/harshmaur/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server