search_memory
Search and retrieve stored memories using text queries, tags, or semantic similarity with configurable filters for date range and relevance scoring.
Instructions
Search for memories with optional filters and scoring.
Args:
query: Text query to search for.
tags: Filter by tags.
top_k: Maximum number of results.
window_days: Only search memories from last N days.
min_score: Minimum decay score threshold.
use_embeddings: Use semantic search with embeddings.
Returns:
List of matching memories with scores.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
min_score | No | ||
query | No | ||
tags | No | ||
top_k | No | ||
use_embeddings | No | ||
window_days | No |
Input Schema (JSON Schema)
{
"properties": {
"min_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Min Score"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Query"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"top_k": {
"default": 10,
"title": "Top K",
"type": "integer"
},
"use_embeddings": {
"default": false,
"title": "Use Embeddings",
"type": "boolean"
},
"window_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Window Days"
}
},
"type": "object"
}