search_memories
Find past decisions and related context by asking questions in natural language. Semantic search matches meanings, not just keywords.
Instructions
Semantic search across short-term memories in demo.memories using Jina embeddings. Finds memories by meaning, not just keywords — ask a natural language question and get the most relevant matches. Use this to recall past decisions, find related context, or check if something was already discussed recently.
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": "search_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | Yes | Natural language search query. Describe what you are looking for — semantic matching finds relevant results even without exact keywords. | |
| scope | No | Search scope: "this_body" searches only the current profile, "all_bodies" searches across all personas. | this_body |
| source | No | ||
| agent_body | No | Filter results to a specific persona/body (e.g. "coco", "toto") | |
| environment | No | Filter results to a specific environment (e.g. "production", "staging") | |
| min_similarity | No | Minimum cosine similarity threshold for results (range -1 to 1). Higher values return fewer but more relevant matches. | |
| unexpired_only | No | When true (default), exclude expired memories from results |