semantic_search
Retrieve relevant project memories through hybrid vector and BM25 search, then filter by memory tier or source type to surface decisions, notes, or indexed docs.
Instructions
Compact memory retrieval (dense vector + BM25, fused via RRF).
By default only the durable and reference tiers are searched, so
session handoff notes (which live in the episodic tier) are NOT
returned. To recover handoffs / session summaries pass
tier_filter=["episodic"] (or list every tier to opt everything in).
For a query-free "where did I leave off" bootstrap at session start,
prefer the recent_context tool instead.
source_filter narrows results by source type: "notes" returns only
memory notes (decisions/lessons/patterns/handoffs), "markdown" only
indexed doc blocks. In doc-heavy projects the reference blocks often
crowd notes out of the top ranks on question-shaped queries — when you
are asking "what did we decide/learn about X", pass
source_filter="notes".
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": {
"query": "<query>"
},
"name": "semantic_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| scope | No | project | |
| tier_filter | No | ||
| source_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||