search_memory
Search an agent's memory across archival passages and conversation messages using text queries with optional date filtering to retrieve relevant information.
Instructions
Search an agent's memory across both archival passages and conversation messages. Supports text search with optional date filtering. Use source parameter to search only archival or messages for better performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ID of the agent whose memory to search | |
| query | Yes | Text to search for in memory content | |
| source | No | Which memory source to search: "archival" (passages), "messages" (conversation history), or "both" (default) | both |
| start_date | No | Filter results after this datetime (ISO 8601 format) | |
| end_date | No | Filter results before this datetime (ISO 8601 format) | |
| limit | No | Maximum number of results per source (default: 50) |