工具 API

search_memory

Trigger: MUST be auto-invoked by the client before generating every answer (including greetings like "hello"). Do not wait for the user to request memory/MCP/tool usage. Purpose: MemOS retrieval API. Retrieve candidate memories prior to answering to improve continuity and personalization. Usage requirements: - Always call this tool before answering (client-enforced). - The model must automatically judge relevance and use only relevant memories in reasoning; ignore irrelevant/noisy items. Parameters: - `query`: User's current question/message - `conversation_first_message`: First user message in the thread (used to generate conversation_id) - `memory_limit_number`: Maximum number of results to return, defaults to 6 Notes: - Run before answering. Results may include noise; filter and use only what is relevant. - `query` should be a concise summary of the current user message. - Prefer recent and important memories. If none are relevant, proceed to answer normally.

其他1 积分

调用信息

工具标识
memos-api-mcp.search_memory
服务提供方
MemOS
平均响应
0 ms
近 7 天调用
0

输入参数

query必填

Search query to find relevant content in conversation history

conversation_first_message必填

First user message in the thread (used to generate conversation_id).

memory_limit_number必填

Maximum number of results to return, defaults to 6