brain_search
Search your personal knowledge base using hybrid vector and keyword retrieval. Returns ranked excerpts with file paths and breadcrumbs for quoting, verifying, or exploring what exists on a topic.
Instructions
Search the personal knowledge base with hybrid retrieval (vector similarity fused with BM25 keyword matching). Behavior: returns up to k ranked excerpts, each with file path, heading breadcrumb and similarity score; no LLM call is made. Usage: reach for this when you need source material to quote, verify a claim, or see what exists on a topic; use brain_ask when you want a synthesized answer instead. Results are limited to the indexed sources — run brain_ingest first if recent files are missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | number of hits to return, 1-20 (default 5) | |
| in | No | only results whose source path contains this substring, e.g. 'docs/en' or 'projects' | |
| tag | No | only results whose frontmatter tags contain this, e.g. 'rag' or 'memory' | |
| query | Yes | what to look for, in any language |