graph
View the edges and connected memories surrounding a specific memory. Useful for understanding how a memory fits into the broader knowledge graph.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Memory ID to explore |
depth | number | No | Traversal depth (1-3, default: 1) |
Return Value
Section titled “Return Value”Returns the target memory plus all connected memories up to the specified depth, with edge types shown.
Examples
Section titled “Examples”View immediate neighbors
Section titled “View immediate neighbors”{ "id": 42}Deep traversal
Section titled “Deep traversal”{ "id": 42, "depth": 3}Related Tools
Section titled “Related Tools”- connect — Create edges
- disconnect — Remove edges
- recall — Search with graph traversal via
depthparameter