create-comment
Add comments to collaborative documents in Liveblocks rooms. Specify room, thread, user ID, and comment content to enable real-time discussion.
Instructions
Create a Liveblocks comment. Always ask for a userId.
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": {
"roomId": "<roomId>",
"threadId": "<threadId>",
"data": "<data>"
},
"name": "create-comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roomId | Yes | ||
| threadId | Yes | ||
| data | Yes |