Neighbors
neighborsRetrieve adjacent nodes for a given ID in a dependency graph, choosing incoming, outgoing, or both directions to trace dependencies and assess impact.
Instructions
One-hop neighbors of a node. direction is 'out', 'in', or 'both'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| vault | No | ||
| direction | No | both | |
| edge_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |