add_memory to check for duplicates.
Parameters
Search query. Can be natural language (
"how does authentication work?") or keywords ("jwt token validation"). Semantic search finds conceptually similar content even without exact keyword matches.Maximum results to return (1-100). Default 10 is usually sufficient. Increase to 20-50 for comprehensive knowledge review.
Filter by specific layers. Omit to search all layers. Example:
["rule"] for rules only, ["working", "long_term"] to exclude rules.Search scope.
| Value | Description |
|---|---|
project | Current project + global memories (default) |
global | Global memories only |
all | All projects without filtering |