resolve_mr_discussion
Mark a GitLab merge request discussion as resolved or unresolved. Dry run mode shows the action without executing it.
Instructions
Mark an MR discussion as resolved (or unresolved). dry_run=true by default.
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_id": "<project_id>",
"mr_iid": "<mr_iid>",
"discussion_id": "<discussion_id>"
},
"name": "resolve_mr_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| mr_iid | Yes | MR IID | |
| discussion_id | Yes | Discussion ID (from create_mr_discussion or by listing discussions on the MR) | |
| resolved | No | true to resolve, false to unresolve. Default: true. | |
| dry_run | No | Dry run mode (default: true). When true, returns a preview of the action without executing it. Set to false only after user confirmation. |