get_neighbors
Traverse knowledge graphs from seed nodes to discover related concepts and relationships for depth-first exploration and structured insight generation.
Instructions
Traverse the graph from seed nodes to find related concepts and relationships. Useful for depth-first discovery.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphId | Yes | The graph ID | |
| seed_node_ids | Yes | Array of node IDs to start traversal from | |
| userId | Yes | Unique identifier for the user (Required) | |
| relationship_types | No | Filter by relationship types | |
| depth | No | Traversal depth (default 1, max 2) | |
| limit | No | Maximum results (default 50) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | Array of relationships between nodes | |
| nodes | No | Array of neighboring nodes | |
| usage | No |