delete_merge_request_discussion
Remove a specific discussion from a GitLab merge request to clean up resolved conversations or outdated comments during code review.
Instructions
Delete a merge request discussion.
Args:
project_id: The GitLab project ID or URL-encoded path
merge_request_iid: The merge request IID (project-specific ID)
discussion_id: The ID of the discussion to delete
Returns:
Dict containing the status of the deletion
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| merge_request_iid | Yes | ||
| discussion_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"discussion_id": {
"title": "Discussion Id",
"type": "string"
},
"merge_request_iid": {
"title": "Merge Request Iid",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "string"
}
},
"required": [
"project_id",
"merge_request_iid",
"discussion_id"
],
"type": "object"
}