vector_search
Find similar keywords via semantic vector search using cosine distance on 384-dimensional embeddings, with context-specific queries for associative memory retrieval.
Instructions
Semantic vector search. Find similar keywords via Turso vector_distance_cos or a Python cosine fallback (384-dim fastembed embeddings, NS_EMBED_MODEL).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keywords": "<keywords>"
},
"name": "vector_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of results (default 8) | |
| context | No | Context path (e.g. java/spring). Defaults to active context. | |
| keywords | Yes | Query keywords for vector search |