Skip to main content
Glama
liveblocks
by liveblocks

get-inbox-notification

Retrieve a specific notification from the Liveblocks inbox by providing user ID and notification ID.

Instructions

Get a Liveblocks inbox notification

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYes
inboxNotificationIdYes

Implementation Reference

  • The handler function for the 'get-inbox-notification' tool. It calls the Liveblocks client's getInboxNotification method via callLiveblocksApi utility.
    async ({ userId, inboxNotificationId }, extra) => { return await callLiveblocksApi( getLiveblocks().getInboxNotification( { userId, inboxNotificationId }, { signal: extra.signal } ) ); }
  • Input schema for the tool using Zod, requiring userId and inboxNotificationId.
    { userId: z.string(), inboxNotificationId: z.string(), },
  • src/server.ts:681-696 (registration)
    Registration of the 'get-inbox-notification' tool on the McpServer instance.
    server.tool( "get-inbox-notification", "Get a Liveblocks inbox notification", { userId: z.string(), inboxNotificationId: z.string(), }, async ({ userId, inboxNotificationId }, extra) => { return await callLiveblocksApi( getLiveblocks().getInboxNotification( { userId, inboxNotificationId }, { 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