TOOL API

add_message

Trigger: MUST be auto-invoked by the client after completing every answer (final step of each turn). Purpose: Persist this turn's user question and assistant answer for memory extraction, personalization, and continuity. This MUST run even if no retrieved memories were used. Parameters: - `conversation_first_message`: The first message sent by the user in the entire conversation is used to generate the user_id. - `messages`: Array containing BOTH: 1. `{ role: "user", content: "user's question" }` 2. `{ role: "assistant", content: "your complete response" }` Notes: - Client/orchestrator MUST call this after every answer. Skipping it degrades personalization and continuity. - Store only the actual Q&A of this turn; do not store raw retrieval snippets.

Other1 credits

Call information

Tool slug
memos-api-mcp.add_message
Provider
MemOS
Average response
0 ms
Calls in 7 days
0

Input parameters

conversation_first_messagerequired

The first message sent by the user in the entire conversation thread. Used to generate the conversation_id.

messagesrequired

Array of messages containing role and content information