remove_resolved_threads
Permanently deletes resolved discussion threads from a GitLab merge request to clear outdated review comments. Supports a dry-run preview and a limit on processed threads.
Instructions
⚠️ DESTRUCTIVE OPERATION: Permanently delete all resolved comments/notes from a merge request. MANUAL USE ONLY - Use for cleanup/testing only.
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>",
"mergeRequestIid": "<mergeRequestIid>"
},
"name": "remove_resolved_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview what resolved notes would be deleted without actually deleting them | |
| project | Yes | Project ID or path (e.g., "group/project" or "123") | |
| maxThreads | No | Maximum number of resolved notes to process (default 10 to avoid token limits) | |
| mergeRequestIid | Yes | Merge request internal ID (iid) |