search_memories
Search memories by keyword or substring to retrieve relevant entries. Filter results by user, agent, type, and limit to locate specific memory content efficiently.
Instructions
Keyword-search memories (case-insensitive substring match on content/summary).
Args: query: Substring to search for (required). user_id: Restrict to a specific user. agent_id: Restrict to a specific agent's memories. type: Restrict to a specific memory type. limit: Max number of results (1-100). Defaults to 20.
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 |
|---|---|---|---|
| type | No | ||
| limit | No | ||
| query | Yes | ||
| user_id | No | ||
| agent_id | No |