Search long-term memories about the user
search_memoryRetrieve relevant prior memories about this user.
CALL search_memory at the START of any conversation where the user:
References past context ("like we discussed", "remember when", "last time")
Asks for advice that should reflect their preferences
Describes a trading problem where their history is relevant
Mentions anything you might have recorded before
Default to calling this tool more often than you think you should. It is cheap, scoped to this user only, and returning zero results is fine.
Memories are historical reports, not current selection authority. A recalled strategy/account name does not resolve an unbound "this strategy" in a new conversation. Preserve an explicit attachment or selection in this chat; otherwise discover owned candidates without a remembered-name filter and clarify ambiguity. Verify current state through its owning tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max memories to return. Defaults to 5. | |
| query | Yes | Natural language query to find relevant prior memories. Examples: 'What strategies has the user built before?' 'Does the user prefer aggressive or conservative trading?' 'What was the user's last concern about risk?' Returns up to `limit` matching memories ordered by relevance. | |
| filters | No | Narrow results by metadata tags. Example: {"strategy_id": "abc"} returns only memories tagged with that strategy. |