memory_graph
Read an entity's graph neighborhood to retrieve nodes, typed edges, canonical facts, and derived relationships, helping explore persistent long-term memory across sessions.
Instructions
Read an entity's graph neighborhood: nodes, typed edges, and each
node's canonical facts. Transitive/inverse edges arrive pre-derived
(marked derived: true with rule provenance).
Returns: {found, entity, nodes, edges, paths}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Also return the shortest path from ``entity`` to this entity under ``paths``; its nodes are folded into the neighborhood. | |
| depth | No | Hops from the root. Max 3. | |
| entity | Yes | The root entity to read out from. | |
| include_facts | No | False omits each node's canonical facts. | |
| relation_filter | No | Keep only edges whose relation contains this substring. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||