search_memory
Search dialog turns within a session for a text substring to find earlier mentions of topics, decisions, or entities.
Instructions
Search dialog memory within a session by text substring.
Performs a case-insensitive LIKE search over turn content and roles. Suitable for finding earlier mentions of topics, decisions, or entities.
Args: session_id: Conversation session to search. query: Substring to match in content or role. limit: Maximum results to return (default 20).
Returns: JSON string with matching turns, newest first.
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": {
"session_id": "<session_id>",
"query": "<query>"
},
"name": "search_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |