query
Search persistent memory using semantic similarity to retrieve relevant memories and related knowledge graph facts.
Instructions
Retrieve context BEFORE answering. Searches SharedMemory for relevant memories using semantic similarity. Returns matching memories from vector search + related knowledge graph facts.
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": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for in memory | |
| volume_id | No | Volume ID. Uses default if not set. | |
| limit | No | Max results. Default: 10 | |
| date_from | No | Filter memories with event_date >= this ISO date (e.g. 2026-04-01) | |
| date_to | No | Filter memories with event_date <= this ISO date (e.g. 2026-04-30) | |
| user_id | No | Filter results to a specific user | |
| session_id | No | Filter results to a specific session | |
| agent_id | No | Filter results from a specific agent | |
| app_id | No | Filter results from a specific app | |
| rerank | No | Re-rank results for better relevance. Default: false |