search
Find relevant memories using hybrid search that returns a compact snippet index. Filter by project or scope to refine results.
Instructions
Hybrid search over memory; returns a compact id+snippet index.
Reranks by default (set CAIRN_RERANK=0 to disable, or pass rerank=false).
Recall prefers your current project's memories (boosted, non-lossy): pass
project (a repo name) to target another project, else the server's working
directory is used. scope="project" hard-limits results to that project.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| scope | No | all | |
| rerank | No | ||
| project | No |