space_id; when omitted, the server resolves a default space from configuration or the authenticated account.
search_memories
Search memories with hybrid retrieval.
required
The search query.
add_memory
Store raw sources or a conversation. Provide exactly one of sources or messages.
Raw source
Conversation
list_spaces
List spaces available to the authenticated user.
health_check
Check connectivity to the Crosmos Memory API.
Agent usage pattern
1
Search before answering
Use
search_memories when the user asks about prior context, preferences, or history.2
Answer with context
Use returned memories as grounded context, not as the final answer by themselves.
3
Store new context
Use
add_memory when the user shares facts, preferences, corrections, or conversation context worth remembering.