Skip to main content
Glama
liveblocks
by liveblocks

delete-thread

Remove outdated or irrelevant threads in Liveblocks by specifying the room and thread IDs. Streamline collaboration and maintain organized workflows.

Instructions

Delete a Liveblocks thread

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomIdYes
threadIdYes

Implementation Reference

  • src/server.ts:378-393 (registration)
    Registration of the 'delete-thread' tool, including schema and handler function.
    server.tool( "delete-thread", "Delete a Liveblocks thread", { roomId: z.string(), threadId: z.string(), }, async ({ roomId, threadId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteThread( { roomId, threadId }, { signal: extra.signal } ) ); } );
  • The handler function that executes the delete-thread tool logic by calling the Liveblocks deleteThread API.
    async ({ roomId, threadId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteThread( { roomId, threadId }, { signal: extra.signal } ) ); }
  • Input schema defining parameters roomId and threadId for the delete-thread tool.
    { roomId: z.string(), threadId: z.string(), },

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