Search Memories
search_memoriesSearch stored memories using natural language queries, balancing semantic relevance with memory freshness and importance. Returns both private and team memories when configured.
Instructions
Semantic search across stored memories for a user. Ranked by Temporal Memory Scoring — balances semantic relevance with memory freshness and importance. When a team is configured, returns both private and team memories by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User to search memories for | |
| q | Yes | Natural language search query | |
| limit | No | Max results to return | |
| namespace | No | Memory namespace (default: from env or 'default') | |
| team_id | No | Team ID to include team memories from. Defaults to SMARA_TEAM_ID env var. | |
| include_team | No | Include team memories in results. Defaults to true when a team is configured. |