Delete Note
delete_noteDelete a comment on a GitLab issue or merge request by note ID; requires the note author's or a maintainer's token.
Instructions
Delete a comment (note) on a GitLab issue or merge request. Requires a user token belonging to the note author or a maintainer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"noteId": "<noteId>"
},
"name": "delete_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noteId | Yes | Note ID — either the bare numeric ID or the full GraphQL gid (gid://gitlab/Note/123) | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |