Recall memories
zenbrain_recallSearch long-term memory to retrieve anything relevant to a query, including earlier sessions. Results are ranked by relevance and tagged by memory layer.
Instructions
Search long-term memory for anything relevant to a query. Searches every layer by default and returns results ranked by relevance, each tagged with the layer it came from. Use this before answering when the user refers to something from an earlier session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (default 10). | |
| query | Yes | What to look for, in plain language. | |
| layers | No | Restrict the search to these layers. Defaults to all but working. | |
| taskType | No | Current task, e.g. 'coding', 'writing' — used for context matching. | |
| minConfidence | No | Drop results below this confidence. | |
| includeContext | No | Boost results matching the current context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | How many memories were returned. | |
| results | Yes | Matching memories, most relevant first. | |
| skipped | Yes | Rows that carried no readable content and were left out of `results`. |