memory_search
Search agent memory files using natural language queries to find relevant information with TF-IDF ranking. Retrieve matching sections with relevance scores for efficient context retrieval.
Instructions
Search agent memory using TF-IDF ranking. Returns a compact index of matching sections with relevance scores. Use memory_detail to fetch full content of interesting results. Searches MEMORY.md + memory/*.md files.
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": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query (e.g. 'SDK version fix', '상표 출원') | |
| memory_dir | No | Path to memory directory (default: ./memory) | |
| limit | No | Max results (default: 10) | |
| enhanced | No | If true, includes full snippets for top results (uses more tokens). Default: compact index only. |