delete_comment
Delete a Gitea comment by its unique ID to permanently remove it. Requires confirmation and author or admin permissions (returns 403 otherwise).
Instructions
Delete a comment by its id (NOT the issue index — get the id from list_comments). IRREVERSIBLE. Confirm with the user first; only the author or a repo admin may delete (403 otherwise).
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": {
"id": "<id>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Comment ID | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) |