Liveblocks

Official
by liveblocks

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LIVEBLOCKS_SECRET_KEYYesYour Liveblocks secret key from the dashboard

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get-rooms

Get recent Liveblocks rooms

create-room

Create a Liveblocks room

get-room

Get a Liveblocks room

update-room

Update a Liveblocks room

delete-room

Delete a Liveblocks room

update-room-id

Update a Liveblocks room's ID

get-active-users

Get a Liveblocks room's active users

broadcast-event

Broadcast an event to a Liveblocks room

get-storage-document

Get a Liveblocks storage document

get-yjs-document

Get a Liveblocks Yjs text document

get-threads

Get recent Liveblocks threads

create-thread

Create a Liveblocks thread. Always ask for a userId.

get-thread

Get a Liveblocks thread

get-thread-participants

Get a Liveblocks thread's participants

edit-thread-metadata

Edit a Liveblocks thread's metadata. null can be used to remove a key.

mark-thread-as-resolved

Mark a Liveblocks thread as resolved

mark-thread-as-unresolved

Mark a Liveblocks thread as unresolved

delete-thread

Delete a Liveblocks thread

subscribe-to-thread

Subscribe to a Liveblocks thread

unsubscribe-from-thread

Unsubscribe from a Liveblocks thread

get-thread-subscriptions

Get a Liveblocks thread's subscriptions

create-comment

Create a Liveblocks comment. Always ask for a userId.

get-comment

Get a Liveblocks comment

edit-comment

Edit a Liveblocks comment

delete-comment

Delete a Liveblocks comment

add-comment-reaction

Add a reaction to a Liveblocks comment

remove-comment-reaction

Remove a reaction from a Liveblocks comment

get-room-subscription-settings

Get a Liveblocks room's subscription settings

update-room-subscription-settings

Update a Liveblocks room's subscription settings

delete-room-subscription-settings

Delete a Liveblocks room's subscription settings

get-user-room-subscription-settings

Get a user's room subscription settings

get-inbox-notifications

Get recent Liveblocks inbox notifications

get-inbox-notification

Get a Liveblocks inbox notification

trigger-inbox-notification

Create a custom Liveblocks inbox notification

delete-inbox-notification

Delete a Liveblocks inbox notification

delete-all-inbox-notifications

Delete all Liveblocks inbox notifications

get-notification-settings

Get a Liveblocks notification settings

update-notification-settings

Update Liveblocks notification settings

delete-notification-settings

Delete Liveblocks notification settings

ID: x714wi36o5