Get a person's family and line of descent
get_familyRetrieve parents, children, siblings, and spouses for any person, plus generation-by-generation ancestors and descendants. Correctly inverts parent-of relations to build the true family tree.
Instructions
Parents, children, siblings and spouses for any person, and with generations above 1 the line of descent — ancestors and descendants gathered one generation at a time. This is the tool for a genealogy, lineage or ancestry question: "who were Boaz's ancestors", "trace David's line", "who did Ruth marry".
Use this rather than reading relations off get_entity. The corpus contains no child-of edge at all — parentage is recorded only on the parent's document — so a person's own parent-of relations are their CHILDREN, and reading them as parents inverts the family tree. This tool does the inversion.
Called family rather than genealogy because it returns kinship as well as descent, and because two other things here own that word. The 680 ancestor-of edges assert descent across an unknown number of generations, so they cannot be composed into a generation-by-generation tree and are excluded from this one — read them off get_entity if you want them. And the genealogy PASSAGES — Genesis 5 and 10, Ruth 4, Matthew 1, Luke 3 — are indexed as a theme at themes/genealogy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Person path, e.g. "people/moses" | |
| generations | No | Above 1, also returns ancestors and descendants generation by generation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| person | No | ||
| licence | No | ||
| parents | No | ||
| spouses | No | ||
| children | No | ||
| siblings | No | ||
| ancestors | No | ||
| descendants | No |