Chats
MCP tools for the Chats module. See the Chats module docs for permissions and data model.
create-chat
Create a chat
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
aiProviderId | string | yes | Public ID of the AI provider |
projectId | string | no | Public ID of the project. Required when the user belongs to multiple projects and no project key is used. |
name | string | no | Optional human-readable name |
systemMessage | string | no | Optional system message applied to all completions on this chat |
model | string | no | Optional default model override |
list-chats
List chats
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | no | Project public ID to filter by |
limit | number | no | Maximum number of results to return |
offset | number | no | Number of results to skip |
get-chat
Get a chat
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
chatId | string | yes | — |
delete-chat
Delete a chat
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
chatId | string | yes | — |
create-chat-completion-for-chat
Create a chat completion for a stored chat
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
chatId | string | yes | — |
messages | array<object> | yes | — |
model | string | no | Override the chat's default model for this call |
stream | boolean | no | When true the response is an SSE stream. |
create-chat-completion
Create a chat completion (stateless)
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
aiProviderId | string | yes | Public ID of the AI provider to use. |
model | string | no | Model identifier. Overrides the provider's default_model when specified. |
messages | array<object> | yes | Ordered list of chat messages |
stream | boolean | no | When true the response is an SSE stream of delta chunks. When false (default) a single JSON object is returned. |