retrieve_memory
Search stored memories to find similar workflows and failure patterns for a new task. Use natural language queries to retrieve relevant past work.
Instructions
Semantic search over stored memories to find similar workflows and patterns.
Use this to discover relevant past work when facing a new task. Returns both similar workflows and common failure patterns that match the query.
Side effects: Reads from the semantic memory store built by build_memory.
Use build_memory first to ensure the index is up-to-date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to scan for similarity (default 5000). | |
| query | Yes | Search query string describing the problem or goal. Use natural language; the semantic retriever handles embedding. | |
| top_k | No | Number of top results to return (default 5, max 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||