recall
Query stored episodes by time, type, source, or keyword to retrieve prior context, find citations, or review recent work.
Instructions
Query episodes from memory with filters. Call this to find prior context before making decisions, to locate specific episodes for citation during graduation, or to review recent work. Returns matching episodes ordered by timestamp (newest first). Supports time range, type, source, and keyword filters. The keyword is matched as an exact phrase first; if no episode contains the whole phrase and it has two or more distinctive words, the call falls back to ranking episodes by how many of those words they contain (the reply says so and names the words each episode matched), so a multi-word query does not need to appear verbatim. A phrase of three or more distinctive words with only one or two exact hits is followed by a few word matches, listed under 'Also matching by words'. A durable fact whose cue words appear in the keyword (or two distinctive words of its text) is listed first, under 'Durable facts matching your words'. limit=0 returns nothing at all, facts included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum episodes to return. Default 100. When a multi-word keyword has no exact match and is ranked word by word, the default is 10 instead; pass a limit to see more. | |
| since | No | ISO 8601 timestamp — return episodes after this time. | |
| until | No | ISO 8601 timestamp — return episodes before this time. | |
| offset | No | Skip first N matching episodes. Default 0. | |
| source | No | Filter by source/agent attribution. | |
| keyword | No | Search episode content for this keyword or phrase. An exact phrase match is tried first; a multi-word phrase with no exact match is then matched word by word and ranked. | |
| episode_type | No | Filter by episode type. | |
| include_superseded | No | Also return episodes a newer episode replaced, marked with what replaced them. Default false: they are left out. |