Skip to main content
Glama

create_merge_request_note

Add a note to a merge request discussion thread to provide feedback, ask questions, or continue conversations about code changes.

Instructions

Add a new note to an existing merge request thread

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
bodyYesThe content of the note or reply
created_atNoDate the note was created at (ISO 8601 format)

Implementation Reference

  • Zod schema defining the input parameters for creating a note in an existing merge request discussion thread. This is likely the input validation schema for the 'create_merge_request_note' MCP tool.
    export const CreateMergeRequestNoteSchema = ProjectParamsSchema.extend({ merge_request_iid: z.number().describe("The IID of a merge request"), discussion_id: z.string().describe("The ID of a thread"), body: z.string().describe("The content of the note or reply"), created_at: z.string().optional().describe("Date the note was created at (ISO 8601 format)"), });
  • Type definition derived from CreateMergeRequestNoteSchema for use in tool handlers or elsewhere.
    export type CreateMergeRequestNoteOptions = z.infer<typeof CreateMergeRequestNoteSchema>;

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