Retrieve Context Memory
retrieve_contextSearch memory for semantically similar information. Use natural language queries, filter by tag or project, and set top_k for result count.
Instructions
Search for semantically similar information in memory
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": "retrieve_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag | |
| query | Yes | The concept or question to search for | |
| top_k | No | Number of matches to return (default: 5) | |
| project | No | Filter by project |