search
Retrieve top-k relevant memories for a query, returning content, scores, and confidence flags. Use for context-dependent recall in AI agents.
Instructions
Retrieve memories for a query: returns the top-k matches with content, score, confidence flag and reasons (context-dependent recall and all retrieval mechanisms apply).
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 |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| context | No |