telys_search
Semantically search a memory collection to recall stored notes, facts, or decisions. The query is embedded on-device and returns best-matching hits with scores and metadata.
Instructions
Semantic + lexical search over a Telys memory collection: the server embeds query with its built-in on-device embedder and returns the best-matching live rows as hits (id, score, metadata). Use to recall stored notes/facts/decisions before answering. Choose this embedding-ranked path when wording varies; choose telys_search_lexical when exact terms and BM25 scoring matter. Required: collection, query. Optional: top_k (default 5) and where — a single-key equality filter such as scope=project:acme (one key only; MCP-created collections are partitioned by scope). Fails (isError) when the collection does not exist — write first via telys_add or telys_create_collection — or when where carries more than one key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | text query; embedded on-device before searching | |
| top_k | No | maximum hits to return, ordered best-first | |
| where | No | optional single-key equality filter, e.g. scope=project:acme (one key only) | |
| collection | Yes | name of an existing collection in the active store |