Skip to main content

Conversations

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

list-conversations

List conversations

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject ID (optional)
actorIdstringnoFilter by actor ID
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip

create-conversation

Create a conversation

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject ID. Required for JWT auth; omit when using an project key.
statusstringnoInitial conversation status
namestringnoOptional name for the conversation
actorIdstringnoActor ID to associate with this conversation

get-conversation

Get a conversation by ID

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID

update-conversation

Update a conversation

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID
statusstringnoNew conversation status
namestringnoNew conversation name

delete-conversation

Delete a conversation

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID

list-conversation-messages

List conversation messages

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip

add-conversation-message

Add a message to a conversation

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID
messagestringyesMessage text content to add to the conversation
rolestringyesRole of the message sender
actorIdstringnoOptional actor ID to associate with this message (user identity)
positionnumbernoZero-based position. Defaults to MAX+1 (append).
metadataobjectnoOptional structured metadata to attach to the message (e.g. phone number, channel). Stored as-is and injected into the AI prompt context.

generate-conversation-message

Generate the next message in a conversation

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyes
agentIdstringyesID of the agent that will produce the next message.
modelstringnoOptional model override.
streambooleannoIf true, stream tokens via SSE. NOT IMPLEMENTED in v1 — returns 501.
toolContextobjectnoKey-value pairs forwarded as X-Soat-Context-<Key> headers on every http, mcp and soat tool call in this generation. Each key's first character is uppercased and the rest is used verbatim; keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with 400 INVALID_TOOL_CONTEXT_KEY.

remove-conversation-message

Remove a message from a conversation

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID
documentIdstringyesDocument ID

get-conversation-tags

Get conversation tags

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID

replace-conversation-tags

Replace conversation tags

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID

merge-conversation-tags

Merge conversation tags

Arguments

ArgumentTypeRequiredDescription
conversationIdstringyesConversation ID