Delete Comment
delete_commentPermanently removes an existing AFFiNE comment by ID; use thread resolution instead when you only need to mark a discussion resolved.
Instructions
Delete an existing comment by id. This is destructive for that comment; use resolve_comment when you only want to mark a thread resolved.
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 returned by list_comments or create_comment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| kind | No | ||
| error | No | ||
| details | No | ||
| success | No | ||
| causeCode | No | ||
| commentId | No | ||
| retryable | No | ||
| recoveryGuidance | No |