comment_delete
Remove a comment while preserving an audit trail. Hides it from lists and task views to retract incorrect or stale feedback. Restorable if needed.
Instructions
Remove a comment (soft delete). The row is kept for the audit trail but hidden from comment_list and task_get. Use this to retract a comment that turned out to be wrong or stale. Reversible with comment_restore.
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": "comment_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Comment ID to remove | |
| reason | No | Why the comment is being removed (recommended — it stays in the audit trail) | |
| deleted_by | No | Who removed it (optional) |