search_memory
Search memory metadata to find relevant records by keyword, tool name, type, or session. Use it to filter results before retrieving detailed observations.
Instructions
Layer 1: Lightweight search of memory index (~75 tokens/result). Fast metadata search.
AUTOMATIC TRIGGERS - Call this when:
You need to identify which memories might be relevant
Before fetching full observations (to filter first)
Searching for observations by tool name, type, or session
Returns compact metadata for filtering. Use this FIRST to identify relevant memories, then use memory_timeline or get_observations for details.
SEARCH STRATEGY: Use specific keywords. Filter by tool_name, obs_type, or session_id.
PARAMETERS:
query: Search query
limit: Max results (default: 50)
filters: Optional filters like {"tool_name": "web_search", "session_id": "..."}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| filters | No |