Skip to main content
Glama
liveblocks
by liveblocks

get-thread-participants

Retrieve participant information from a specific Liveblocks thread to identify users engaged in collaborative discussions.

Instructions

Get a Liveblocks thread's participants

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomIdYes
threadIdYes

Implementation Reference

  • Handler function that executes the get-thread-participants tool by invoking the Liveblocks client's getThreadParticipants method via callLiveblocksApi.
    async ({ roomId, threadId }, extra) => { return await callLiveblocksApi( getLiveblocks().getThreadParticipants( { roomId, threadId }, { signal: extra.signal } ) ); }
  • Zod input schema defining parameters: roomId (string) and threadId (string).
    { roomId: z.string(), threadId: z.string(), },
  • src/server.ts:296-311 (registration)
    Registration of the 'get-thread-participants' tool on the McpServer instance, including description, input schema, and handler function.
    server.tool( "get-thread-participants", "Get a Liveblocks thread's participants", { roomId: z.string(), threadId: z.string(), }, async ({ roomId, threadId }, extra) => { return await callLiveblocksApi( getLiveblocks().getThreadParticipants( { roomId, threadId }, { signal: extra.signal } ) ); } );

Latest Blog Posts

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