gitlab_mr_comment
Post a comment on a GitLab merge request. Use the line-comment tool instead when commenting on a specific diff line.
Instructions
Post a comment on the merge request itself. For a comment on a specific line of the diff, use gitlab_mr_comment_on_line so it appears in the changed line's thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iid | Yes | project-scoped internal id - the number in !123 for a merge request or #123 for an issue, not the global id | |
| body | Yes | comment text (GitLab Flavored Markdown) | |
| project | Yes | project id ('42') or full path ('group/subgroup/app'); a path is URL-encoded for you |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| body | No | ||
| type | No | ||
| author | No | user reference | |
| system | No | true for GitLab-generated notes (labels, pushes, state changes) | |
| position | No | present on diff notes; carries new_path/new_line/old_line | |
| resolved | No | ||
| created_at | No | ||
| resolvable | No | true when this note can be resolved - only diff notes usually are | |
| updated_at | No | ||
| noteable_type | No |