memstate_search
Search agent memories by semantic meaning to find relevant information before starting tasks when exact keypaths are unknown.
Instructions
Find memories by meaning (semantic search). Use BEFORE starting tasks when you don't know the exact keypath.
USE THIS WHEN: You want to find relevant memories by topic or meaning, not by exact keypath. NOT FOR: Saving content (use memstate_remember for markdown/summaries, memstate_set for one keypath value).
memstate_search(query="how is authentication configured", project_id="myapp") memstate_search(query="database connection settings", project_id="myapp")
Returns summaries with similarity scores. Use memstate_get(memory_id="...") to fetch full content of a result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query. Leave empty to explore/list all memories ordered by keypath. | |
| project_id | No | Filter by project | |
| limit | No | Maximum results (default: 20, max: 100) | |
| categories | No | Filter by categories | |
| keypath_prefix | No | Filter by keypath prefix | |
| include_superseded | No | Include old versions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |