twining_neighbors
Traverse the knowledge graph from any entity to discover connected neighbors up to three levels deep, with optional relation type filtering for targeted exploration.
Instructions
Traverse the knowledge graph from an entity, returning neighbors up to a given depth (max 3). Supports filtering by relation type. Useful for understanding how entities connect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Traversal depth (1-3, default: 1) | |
| entity | Yes | Entity ID or name to start traversal from | |
| relation_types | No | Filter to only these relation types |