Skip to main content

Chats

MCP tools for the Chats module. See the Chats module docs for permissions and data model.

create-chat

Create a chat

Arguments

ArgumentTypeRequiredDescription
aiProviderIdstringyesPublic ID of the AI provider
projectIdstringnoPublic ID of the project. Required when the user belongs to multiple projects and no project key is used.
namestringnoOptional human-readable name
systemMessagestringnoOptional system message applied to all completions on this chat
modelstringnoOptional default model override

list-chats

List chats

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject public ID to filter by
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip

get-chat

Get a chat

Arguments

ArgumentTypeRequiredDescription
chatIdstringyes

delete-chat

Delete a chat

Arguments

ArgumentTypeRequiredDescription
chatIdstringyes

create-chat-completion-for-chat

Create a chat completion for a stored chat

Arguments

ArgumentTypeRequiredDescription
chatIdstringyes
messagesarray<object>yes
modelstringnoOverride the chat's default model for this call
streambooleannoWhen true the response is an SSE stream.

create-chat-completion

Create a chat completion (stateless)

Arguments

ArgumentTypeRequiredDescription
aiProviderIdstringyesPublic ID of the AI provider to use.
modelstringnoModel identifier. Overrides the provider's default_model when specified.
messagesarray<object>yesOrdered list of chat messages
streambooleannoWhen true the response is an SSE stream of delta chunks. When false (default) a single JSON object is returned.