recall tool ¶Finds memories semantically similar to a query, ordered by cosine similarity.
queryRequired string. The natural-language question or topic to search for.
limitInteger. Optional, default DEFAULT_RECALL_LIMIT (8), capped at
MAX_RECALL_LIMIT (50).
min_scoreNumber, 0–1. Optional. Filter out matches below this score.
tagsArray of strings. Optional. Filter to memories with at least one matching tag.
{
"ok": true,
"matches": [
{
"id": 123,
"text": "The user's son Colby lives in Los Angeles.",
"score": 0.8421,
"created_at": "2026-05-05T12:00:00Z",
"updated_at": "2026-05-05T12:00:00Z",
"last_confirmed_at": "2026-05-05T12:00:00Z",
"tags": ["family"],
"source_provider": "openai",
"capture_mode": "explicit"
},
...
]
}
The tool description instructs the calling LLM to prefer the most
recently confirmed match when multiple results look contradictory:
compare last_confirmed_at first, then updated_at, then
created_at.
INVALID_INPUT, EMBEDDING_ERROR, DATABASE_ERROR.
{
"name": "recall",
"arguments": {
"query": "where does my son live",
"limit": 5,
"tags": ["family"]
}
}