delete-notification-settings
Remove user notification preferences from Liveblocks collaboration platform to manage alert settings.
Instructions
Delete Liveblocks notification settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes |
Implementation Reference
- src/server.ts:803-817 (registration)Registration of the MCP tool 'delete-notification-settings', including description, input schema (userId: string), and handler function that delegates to Liveblocks SDK's deleteNotificationSettings method.server.tool( "delete-notification-settings", "Delete Liveblocks notification settings", { userId: z.string(), }, async ({ userId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteNotificationSettings( { userId }, { signal: extra.signal } ) ); } );
- src/server.ts:809-816 (handler)The handler implementation for 'delete-notification-settings' tool. It takes userId and calls getLiveblocks().deleteNotificationSettings via callLiveblocksApi utility.async ({ userId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteNotificationSettings( { userId }, { signal: extra.signal } ) ); }
- src/server.ts:806-808 (schema)Input schema definition for the tool using Zod: requires a 'userId' string.{ userId: z.string(), },