Memory Search
memory_searchSearch long-term memory for facts matching a natural-language query to avoid asking users to repeat themselves. Returns ranked matches, optionally filtered by user, agent, or category.
Instructions
Search long-term memory for facts matching a natural-language query.
Use this before asking the user to repeat themselves. Searches fact content (keyword and, when a retrieval index exists, ranked matching) and returns the best matches with their category and confidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of facts to return (default 10). | |
| query | Yes | What to look for, e.g. "package manager preference". | |
| user_id | No | Whose memory to search. Defaults to the server's configured user when omitted. | |
| category | No | Optional exact category filter (e.g. "preference", "correction"). Applied before the result limit. | |
| agent_name | No | Optional per-agent bucket. Omit for shared memory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||