traverse
Start from an entity and retrieve all connected entities within a configurable number of hops (1-3) in a knowledge graph.
Instructions
Traverse the graph from a starting node, returning all entities within N hops.
Args: start_node: Entity name to start from depth: Number of hops to traverse (default 1, max 3)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| start_node | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |