Get Relations
get_relationsExplain how person 2 is related to person 1, showing the closest relationship and all common ancestors. Searches up to 15 generations of blood relatives and spouses.
Instructions
Explain how two people are related, read as 'person 2 is the X of person 1' (e.g. 'third cousin twice removed', 'husband'): the closest relationship with generations to the common ancestor, then every relationship found with its common ancestors by name. Searches blood relatives up to 15 generations plus spouses; unrelated people get a clear message. Find both people first with search. To list a whole line of ancestors or descendants use get_person_tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle1 | Yes | Person 1, the one the relationship is told from. Handle or Gramps ID (e.g. I0001), resolved automatically; find it with search or list_objects. | |
| handle2 | Yes | Person 2, the one whose relationship to person 1 is named. Handle or Gramps ID (e.g. I0001), resolved automatically; find it with search or list_objects. |