Skip to main content
Glama

Liveblocks

Official
by liveblocks

create-thread

Generate and manage Liveblocks threads by specifying a roomId and structured comment data, ensuring collaborative discussions are organized and user-specific.

Instructions

Create a Liveblocks thread. Always ask for a userId.

Input Schema

NameRequiredDescriptionDefault
dataYes
roomIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "data": { "additionalProperties": false, "properties": { "comment": { "additionalProperties": false, "properties": { "body": { "additionalProperties": false, "properties": { "content": { "items": { "additionalProperties": false, "properties": { "children": { "items": { "anyOf": [ { "additionalProperties": false, "properties": { "bold": { "type": "boolean" }, "code": { "type": "boolean" }, "italic": { "type": "boolean" }, "strikethrough": { "type": "boolean" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "id": { "type": "string" }, "type": { "const": "mention", "type": "string" } }, "required": [ "type", "id" ], "type": "object" }, { "additionalProperties": false, "properties": { "text": { "type": "string" }, "type": { "const": "link", "type": "string" }, "url": { "type": "string" } }, "required": [ "type", "url" ], "type": "object" } ] }, "type": "array" }, "type": { "const": "paragraph", "type": "string" } }, "required": [ "type", "children" ], "type": "object" }, "type": "array" }, "version": { "const": 1, "type": "number" } }, "required": [ "version", "content" ], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "userId": { "type": "string" } }, "required": [ "body", "userId" ], "type": "object" }, "metadata": { "additionalProperties": { "type": [ "string", "boolean", "number" ] }, "type": "object" } }, "required": [ "comment" ], "type": "object" }, "roomId": { "type": "string" } }, "required": [ "roomId", "data" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liveblocks/liveblocks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server