memory_search
Retrieve relevant facts from persistent agent memory using natural-language queries. Also search shared user-level preferences to gain full context across agents.
Instructions
Search GrayMatter memory for relevant facts. Call once for your agent_id, then again with agent_id "shared" for user-level preferences.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language query to match against stored facts. | |
| top_k | No | Maximum number of facts to return (default: 8). | |
| agent_id | Yes | The agent whose memory to search. |