create_merge_request_note
Add comments or feedback to GitLab merge requests by creating notes within specific projects to facilitate code review discussions.
Instructions
Add a new note to 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 | |
| body | Yes | The content of the note or reply |
Implementation Reference
- schemas.ts:977-980 (schema)Input schema definition for the 'create_merge_request_note' tool. Defines required parameters: project_id (from ProjectParamsSchema), merge_request_iid, and body. Used for input validation in the MCP tool.merge_request_iid: z.coerce.string().describe("The IID of a merge request"), body: z.string().describe("The content of the note or reply"), });