delete_draft_comment
Remove a draft comment from a Gerrit change using its change ID and draft ID. Keep code review threads clean by deleting unwanted or outdated drafts.
Instructions
Deletes a single draft comment on a CL by its draft ID.
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": {
"change_id": "<change_id>",
"draft_id": "<draft_id>"
},
"name": "delete_draft_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| change_id | Yes | ||
| gerrit_base_url | No |