aim_memory_search
Search memories by keyword matching names, types, and observation content. Use fuzzy matching to find memories when the exact name is unknown.
Instructions
Search memories by keyword. Use this when you don't know the exact name of what you're looking for.
WHAT IT SEARCHES: Matches query (case-insensitive) against:
Memory names (e.g., "John" matches "John_Smith")
Memory types (e.g., "person" matches all person memories)
Facts/observations (e.g., "Seattle" matches memories mentioning Seattle)
VS aim_memory_get: Use aim_memory_search for fuzzy matching. Use aim_memory_get when you know exact names.
FORMAT OPTIONS:
"json" (default): Structured JSON for programmatic use
"pretty": Human-readable text format
EXAMPLES:
aim_memory_search({query: "John"}) - JSON format
aim_memory_search({query: "project", format: "pretty"}) - Human-readable
aim_memory_search({context: "work", query: "Shane", format: "pretty"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional database name. Searches within this database or master database if not specified. | |
| location | No | Optional storage location override. 'project' for .aim directory, 'global' for configured directory. | |
| query | Yes | Search text to match against entity names, entity types, and observation content (case-insensitive) | |
| format | No | Output format. 'json' (default) for structured data, 'pretty' for human-readable text. |