Memory Search
memory_searchSearch shared agent memory semantically with a natural-language query; filter by time, agent, or source to retrieve relevant context.
Instructions
Semantic search across shared 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": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | natural-language query | |
| since | No | ISO timestamp lower bound on metadata.timestamp | |
| top_k | No | number of results (default 5, max 50) | |
| agent_filter | No | restrict to a single agent label stored in metadata.agent | |
| source_filter | No | restrict to a metadata.source value (e.g. 'sessions', 'memory') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |