get_related
Fetch the neighborhood around a specific memory node by ID. Returns connected nodes and edges as a serialized subgraph to reason about relationships.
Instructions
Fetch the neighborhood around a specific memory node. Use when you already have a node ID and need its connected context. Returns matching nodes and edges as a serialized subgraph.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_id": "<node_id>"
},
"name": "get_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ID of the node whose neighborhood should be returned. | |
| max_depth | No | Relationship traversal depth from the starting node. |