memvid_ask
Ask questions about memory files using retrieval-augmented generation to get answers from stored content with configurable search modes.
Instructions
Ask a question using RAG (Retrieval-Augmented Generation)
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": {
"file": "<file>",
"question": "<question>"
},
"name": "memvid_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the .mv2 memory file | |
| question | Yes | Question to ask | |
| top_k | No | Number of context documents to retrieve | |
| context_only | No | Return only the retrieved context without synthesis | |
| mode | No | Search mode: hybrid (default), lex (lexical), sem (semantic) | hybrid |