neighbors
Explore the surrounding subgraph of a node by following incoming and outgoing links up to a specified depth, returning connected nodes and edges for context.
Instructions
Subgraph around a node, following links in both directions up to depth.
Same sampling and link merging as get_graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| limit | No | ||
| node_id | Yes | ||
| max_links | No | ||
| edge_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |