get_ancestors
Build a GEDCOM individual's direct ancestry tree by recursively fetching father and mother lines up to a chosen number of generations.
Instructions
Pedigree tree (father/mother recursively) for an individual, up to N generations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id such as @I12@ | |
| file | No | GEDCOM file name (with or without .ged). Optional when only one file exists. | |
| generations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| father | No | ||
| mother | No | ||
| person | Yes | ||
| truncated | No | True if more ancestors exist beyond the generation limit | |
| generation | Yes |