Get Ancestors
get_ancestorsLists a person's ancestors by generation—parents first, then grandparents and beyond—so you can trace direct lineage in a specified family tree.
Instructions
List a person's ancestors by generation (1 = parents, 2 = grandparents, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | Stable tree UUID (preferred) or exact name, as shown by list_trees. | |
| person_id | Yes | Person UUID, as returned by add_people or find_people. | |
| generations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |