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
| Name | Required | Description | Default |
|---|---|---|---|
| roomId | Yes |
Implementation Reference
- src/server.ts:138-142 (handler)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 }) ); }
- src/server.ts:135-137 (schema)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 }) ); } );