Get entity neighbors
get_entity_neighborsList the entities directly connected to an entity (one hop), by any relation in either direction, including relations that have since ended. Read-only. Returns a list of entity records (id, type, attributes, aliases), de-duplicated, without saying which relation links each one; an entity with no relations returns [].
Use it to see who or what an entity is linked to at a glance. When you
need the relation types, direction or validity dates, use
get_entity_relations; for relations, neighbors and recent episodes in
one call, use get_entity_graph_context; for current state only, use
query_world_model.
Args:
entity_id: UUID of the entity whose neighbors you want, e.g. the
`id` returned by search_entities.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>"
},
"name": "get_entity_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes |