mcp_engram_context_for_file
Retrieve spatially-prioritized AST context for a file before editing, showing exact line ranges from geometric AABB coordinates.
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) |