delete-all-inbox-notifications
Remove all inbox notifications for a specified user on the Liveblocks MCP server to streamline workspace management and reduce clutter.
Instructions
Delete all Liveblocks inbox notifications
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes |
Implementation Reference
- src/server.ts:748-756 (handler)The handler function executes the tool by calling the Liveblocks API to delete all inbox notifications for the given userId, wrapped in callLiveblocksApi.async ({ userId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteAllInboxNotifications( { userId }, { signal: extra.signal } ) ); } );
- src/server.ts:745-747 (schema)Input schema defining the required 'userId' parameter as a string.{ userId: z.string(), },
- src/server.ts:742-756 (registration)The tool is registered using McpServer's tool method, specifying name, description, input schema, and handler function.server.tool( "delete-all-inbox-notifications", "Delete all Liveblocks inbox notifications", { userId: z.string(), }, async ({ userId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteAllInboxNotifications( { userId }, { signal: extra.signal } ) ); } );