mcp_engram_context_for_file
Call before editing to retrieve spatially-prioritized AST items with exact line ranges and CRS coordinates. Enables precise pre-edit impact analysis using geometric memory.
Instructions
TRIGGER (core of spatial impact ritual): Call before editing any file. Now spatially-prioritized — returns real daemon-extracted AABB AST items (with line ranges + CRS) first, then higher-level context. This is your geometric Pre-Edit impact recon tool. 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) |