gitlab__add_merge_request_comment
Access
Requires a project integration connection for gitlab.
Call type: Can change resources.
Arguments
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "gitlab__add_merge_request_comment",
"arguments": {
"projectId": "example",
"mergeRequestIid": 0,
"body": "example"
}
}
}Result
No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the gitlab integration reference for provider setup and tool context.
Full schemas
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "GitLab numeric project ID or raw namespace/project path"
},
"mergeRequestIid": {
"type": "number",
"description": "Project-local merge request IID"
},
"body": {
"type": "string",
"description": "Comment body in Markdown"
},
"internal": {
"type": "boolean",
"description": "Make the note internal when supported"
}
},
"required": [
"projectId",
"mergeRequestIid",
"body"
],
"description": "Arguments for the gitlab__add_merge_request_comment tool."
}