search_archival_memory
Find relevant information in an agent's stored memories using semantic search. Filter results by tags, date ranges, and other criteria to retrieve contextually similar passages.
Instructions
Search an agent's archival memory using semantic similarity. Returns passages most similar to the query. Use list_passages for text-based search or pagination, create_passage to add memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ID of the agent whose archival memory to search | |
| query | Yes | Search query for semantic similarity matching | |
| tags | No | Optional list of tags to filter passages by | |
| tag_match_mode | No | How to match tags: "any" returns passages with at least one matching tag, "all" requires all tags to match | |
| top_k | No | Maximum number of results to return (default varies by server) | |
| start_datetime | No | Filter passages created after this datetime (ISO 8601 format) | |
| end_datetime | No | Filter passages created before this datetime (ISO 8601 format) | |
| include_embeddings | No | Whether to include the full embedding vectors in the response (default: false) |