search
Find relevant wiki pages, notes, and imported history by content. Returns JSON results with paths for reading, supporting local keyword or hybrid semantic lookup.
Instructions
Find relevant wiki pages, approved notes, and imported history by content. Start here for a question; use list_pages for the wiki catalog or neighbors for links from a known page. Returns a JSON array in text, up to limit results in relevance order, with path, title, snippet, and routing: kind=page plus slug for read_page, kind=note plus note_id for read_note, or kind=source plus source_path for read_source. No matches returns []. Keyword search is local with no model call; hybrid=true fuses lexical and semantic ranks after synapse embed, sends only query text to the configured embedding endpoint, and may incur its cost and latency on each call. It never edits Markdown. Missing semantic cache or credentials returns a tool error. Date/source filters restrict results to raw history; kind selects raw/wiki/note. Open only relevant hits, not the whole vault.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Corpus to search: raw imported history, wiki synthesized pages, or note approved agent notes. Omit for all three; date/source filters combined with wiki/note yield no hits. | |
| after | No | Inclusive raw-source timestamp lower bound, e.g. 2026-09-01 (ISO date/time). Excludes undated wiki pages and notes; combine with before for a range. | |
| limit | No | Maximum hits to return, not a page size; fewer hits or [] may be returned. No pagination. | |
| query | Yes | Topic or question, e.g. solar irrigation. Plain text, not FTS syntax; keyword search stems words and prefers all-word matches before partial matches. | |
| before | No | Exclusive raw-source timestamp upper bound, e.g. 2026-10-01 (ISO date/time). Excludes undated wiki pages and notes; omit for no upper bound. | |
| hybrid | No | Enable for paraphrases or a keyword miss. Requires a cache for the configured embedding model from synapse embed and endpoint access; false keeps search local and free. | |
| source | No | Exact raw adapter name, e.g. chatgpt, claude, or file. Excludes wiki pages and notes; omit to search all sources. |