Update Comment
update_commentReplace the content of an existing AFFiNE comment to update feedback or notes while preserving the original discussion thread.
Instructions
Replace the content of an existing comment. This preserves the comment thread; use create_comment for a new thread.
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>",
"content": "<content>"
},
"name": "update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Comment id returned by list_comments or create_comment. | |
| content | Yes | Replacement comment content accepted by AFFiNE. |
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 |