gitlab_mr_resolve
Resolve or unresolve a merge request discussion thread to record review state on GitLab CE 11.3 when no approve API exists.
Instructions
Resolve or unresolve a discussion thread. This is how review state is recorded on CE 11.3, which has no approve API. Reply to the thread first if the resolution needs an explanation.
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": {
"project": "<project>",
"iid": "<iid>",
"discussion_id": "<discussion_id>"
},
"name": "gitlab_mr_resolve"
}
}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 | |
| project | Yes | project id ('42') or full path ('group/subgroup/app'); a path is URL-encoded for you | |
| resolved | No | ||
| discussion_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| notes | No | ||
| resolved | No | derived by this client: true when every resolvable note in the discussion is resolved | |
| individual_note | No | true for a plain comment with no thread |