retrieve_related_entities
Find connected entities in Neotoma's deterministic state layer by traversing relationships with configurable hops, directions, and filters.
Instructions
Retrieve entities connected to a given entity via relationships. Supports n-hop traversal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Starting entity ID | |
| relationship_types | No | Filter by relationship types (e.g., ['PART_OF', 'REFERS_TO']). If empty, includes all types. | |
| direction | No | Direction of relationships to traverse | both |
| max_hops | No | Maximum number of relationship hops (1 = direct, 2 = 2-hop, etc.) | |
| include_entities | No | Whether to include full entity snapshots in response |