create_note
Add comments to GitLab issues and merge requests by specifying project details and note content to facilitate team collaboration and track discussions.
Instructions
Create a new note (comment) to an issue or merge request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or namespace/project_path | |
| noteable_type | Yes | Type of noteable (issue or merge_request) | |
| noteable_iid | Yes | IID of the issue or merge request | |
| body | Yes | Note content |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"description": "Note content",
"type": "string"
},
"noteable_iid": {
"description": "IID of the issue or merge request",
"type": "number"
},
"noteable_type": {
"description": "Type of noteable (issue or merge_request)",
"enum": [
"issue",
"merge_request"
],
"type": "string"
},
"project_id": {
"description": "Project ID or namespace/project_path",
"type": "string"
}
},
"required": [
"project_id",
"noteable_type",
"noteable_iid",
"body"
],
"type": "object"
}