mcp_engram_context_for_file
Retrieve the top 5 most relevant memories for a file path, including AST functions, structs, and known bugs with exact line ranges, using geometric memory for precise file-specific context.
Instructions
TRIGGER: Call this automatically whenever you open or are about to edit a file. Surfaces the top 5 memories most relevant to that file path, including AST-ingested functions, structs, and known bugs associated with that file's geometry. The daemon stores spatial AABB coordinates (line ranges) with each ingested AST node, so results include which exact lines each concept came from. This is faster and more precise than a free-text recall for file-specific context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path (e.g. /home/user/project/backend.rs) |