create_merge_request_thread
Create a new thread on a GitLab merge request to comment on code, attach line-level feedback, or raise review concerns.
Instructions
Create a new thread on a merge request
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": {
"body": "<body>"
},
"name": "create_merge_request_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The content of the thread | |
| position | No | Position when creating a diff note | |
| created_at | No | Date the thread was created at (ISO 8601 format) | |
| project_id | No | Project ID or complete URL-encoded path to project | |
| merge_request_iid | No | The IID of a merge request |