graph_neighbors
Traverse the entity graph from a starting entity to discover connected entities and relationships, up to a specified depth. Use for exploring raw graph structure.
Instructions
Traverse the entity graph outward from a starting entity, returning connected entities and the relationships between them up to a bounded depth. Read-only. Use to explore how an entity connects to others (raw graph structure); use graph_context if you want a prose, prompt-ready context pack instead of edges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Number of relationship hops to follow. Default 1. | |
| max_edges | No | Maximum relationships to return (bounds the traversal). Default 50. | |
| entity_key | Yes | Entity key to start the traversal from. Required. | |
| include_source | No | If true, reveal provenance/source metadata. Default false. | |
| include_tombstoned | No | If true, include tombstoned (soft-deleted) entities/edges. Default false. |