search_memories
Retrieve relevant passages from the user's long-term memory by query, ranked by relevance and labeled by source memory. Use it to ground agent responses with stored facts rather than generate answers.
Instructions
Passages the user's memory holds on q, most relevant first, each naming the Memory it came from (memory_name); a fact carries its mem_ id. limit is the total number of passages (1-50); mode="fast" is one round with no model call. Retrieval, not an answer.
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": {
"q": "<q>"
},
"name": "search_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| mode | No | full | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |