Связи объекта
get_relationsRetrieve outgoing and incoming relations for an object, grouped by field with counts, to identify what it references or what references it.
Instructions
Когда вызывать: нужны связи объекта — outgoing (на что он ссылается) и incoming (кто ссылается на него: подсистемы — incoming is_part_of, компоненты — incoming realizes_system, таблицы — incoming system). Возвращает группы по полю с count, до limit элементов и title. У крупных объектов сужайте direction/field. Дальше: get_entity на связанном id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID объекта, например example.app_system.hotel_booking | |
| field | No | Только связи по этому полю, например is_part_of | |
| limit | No | Элементов на группу (по умолчанию 20) | |
| direction | No | по умолчанию both |