Skip to main content
Glama
liveblocks
by liveblocks

delete-room

Remove a collaborative workspace from the Liveblocks platform by providing its room ID. This action permanently deletes the room and all associated data.

Instructions

Delete a Liveblocks room

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomIdYes

Implementation Reference

  • Handler function that executes the delete-room tool by calling the Liveblocks deleteRoom API wrapped in callLiveblocksApi.
    async ({ roomId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteRoom(roomId, { signal: extra.signal }) ); }
  • Input schema for the delete-room tool, requiring a roomId string.
    { roomId: z.string(), },
  • src/server.ts:132-143 (registration)
    Registration of the delete-room MCP tool with McpServer.tool, including description, schema, and inline handler.
    server.tool( "delete-room", "Delete a Liveblocks room", { roomId: z.string(), }, async ({ roomId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteRoom(roomId, { 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