create_note
Post a top-level comment on a GitLab issue or merge request. Provide project, type, and target ID to add a note and start or join the discussion.
Instructions
Create a new note (comment) to an issue or merge request. Use this for a top-level comment on an issue or merge request when no typed discussion operation is needed; use create_merge_request_thread or create_issue_note for threaded replies. The operation creates remote discussion content, requires note permission, and returns the created note or a target/permission/validation error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Note content | |
| project_id | Yes | Project ID or namespace/project_path | |
| noteable_iid | Yes | IID of the issue or merge request | |
| noteable_type | Yes | Type of noteable (issue or merge_request) |