Search brain
search_brainSearch saved Brain memories using focused queries to surface relevant facts, preferences, and linked notes for shared AI agent context.
Instructions
Search saved Brain memories. A memory may be a singular fact or a short Markdown mini-doc. Use a short, focused query with the key people, entities, preferences, or topics needed—not the full user message. Memories are retrieved with semantic + BM25 keyword search, reranked by a MiniLM cross-encoder, then expanded up to two hops along related_to graph links so connected memories surface with the seeds. Each memory includes addedBy (who first saved it) and versionCount (saved revisions). When versionCount is greater than 1, call get_memory_versions for the full history. Call get_memory whenever a result has truncated: true so you read the full note, not a clipped preview. Always pass brain from list_brains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optionally restrict results to work or profile memories. | |
| brain | Yes | Brain id from list_brains. The personal brain is "personal". | |
| limit | No | Maximum memories to return (1-64). Score-gated, then padded to at least 10 when candidates exist. | |
| query | Yes | Focused query for the saved facts needed. | |
| entityType | No | Optionally restrict results to one memory entity type. |