Search memories MCP tool
Searches stored durable user memories before creating, updating, or deleting entries to find relevant or duplicate memories.
- MCP tool name:
Search_Memories - Data type: Memory data type
- Returns: Memory MCP response
- Search modes: Keyword
- Annotations: Read only, not destructive, idempotent, closed world
- Surfaces: GovTribe AI (when memories are enabled)
Examples
Use memory search before creating, updating, or deleting a memory so the agent can find existing preferences and avoid duplicate durable notes. Search results can include lifecycle metadata such as strength, fading status, permanence, and review dates when those values are available.
Did I already save a preference about saved-search cadence?
{
"tool": "Search_Memories",
"arguments": {
"query": "saved-search cadence preferences",
"search_mode": "keyword",
"size": 5
}
}What memories mention vector-store retrieval?
{
"tool": "Search_Memories",
"arguments": {
"query": "vector store file retrieval",
"search_mode": "keyword",
"page": 1,
"size": 5
}
}Related articles
- Memory MCP response: Review the response shape returned by this tool.
- Memory data type: Understand the shared record fields and relationships used by this tool.
- Choose a search mode and write queries: Choose keyword or semantic search behavior and shape
queryvalues. - GovTribe AI: Review the GovTribe AI surface where this tool can be called.