graph_add_doc_pointer
Link a knowledge graph entity to a Memory Bank file (and optional heading) to enable targeted context retrieval and accurate file excerpts for queries.
Instructions
Link a knowledge graph entity to a specific Memory Bank file (and optional heading). This helps get_targeted_context find the right file excerpts for a query. The file path is validated before saving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityNameOrId | Yes | Name or ID of the KG entity to link | |
| docPath | Yes | Memory Bank root file path (e.g., "decision-log.md", "system-patterns.md") | |
| heading | No | Optional heading within the file to point to | |
| note | No | Optional note to include in the observation |