Delete Comment
delete_commentDelete a comment from an AFFiNE workspace by providing its unique identifier.
Instructions
Delete a comment by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/util/mcp.ts:26-32 (helper)The receipt helper function used by the handler to build a standard success response.
export function receipt(kind: string, data: Record<string, unknown>) { return text({ kind, ok: true, ...data, }); }