vault_search
Search the vault with lexical-semantic matching to find decisions, patterns, and gotchas, returning cited snippets for answering questions or recording new learnings.
Instructions
Lexical-semantic search over the vault (BM25 plus one wiki-link hop). Call it before answering any question about the user's decisions, patterns, gotchas or history, and before recording a new learning. Returns snippets already cited as path:line — repeat that citation in your answer. Notes under 01-raw/ are excluded unless include_raw.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filters by frontmatter tags. A note must carry ALL of them; case does not matter. | |
| tipo | No | Filter by the frontmatter `tipo`: wiki, moc, projeto, daily. | |
| limit | No | Maximum snippets returned (default 6). | |
| query | Yes | Search terms in natural language. | |
| folder | No | Restrict to a vault folder, e.g. `02-wiki/nestjs`. | |
| status | No | Filters by the frontmatter `status`, e.g. `ativo`. | |
| include_raw | No | Include `01-raw/` (unvetted capture), left out of results by default. |