Generate pedigree chart from GEDCOM
generate_pedigree_chartUse this when the user wants a pedigree chart, an ancestor chart, a printable family tree of someone's ancestors, or "a chart from my GEDCOM file" from a GEDCOM (.ged) file they attached or pasted (exported from Ancestry, FamilySearch, MyHeritage, Gramps, RootsMagic, Family Tree Maker or similar). Pass the attachment as file (or the pasted text as gedcom_text), the person by name or ID, and 4 to 6 generations. Returns a printable landscape PDF with Ahnentafel numbers, dashed blank boxes for unknown ancestors and an ancestor list page, an Excel file of all individuals and families, and data checks (broken links, impossible dates, parents born after their children or under 12, loops). If several people match the name, it lists them with IDs: ask the user which one. Does not research ancestors, add people, or change the file; do not use it for a tree described in words with no GEDCOM file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The GEDCOM file (.ged) exported from a genealogy program or website, e.g. family.ged. A .zip that contains one .ged file also works. | |
| person | No | Whose ancestors to chart: a name as written in the file, optionally with a birth year, e.g. "Mary Ellen Walsh 1921", or a GEDCOM ID such as "@I12@". Leave empty to use the person with the most known ancestors. | |
| page_size | No | "Letter" (default) or "A4", printed landscape. | |
| gedcom_text | No | Fallback only: GEDCOM text pasted into the chat, starting with lines like "0 HEAD" and "0 @I1@ INDI". Prefer file when the user attached a .ged file. | |
| generations | No | Generations on the chart including the person, 4 to 6, e.g. 5 (default): person, parents, grandparents, great- and 2x great-grandparents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| kind | Yes | ||
| notes | Yes | ||
| checks | Yes | ||
| person | Yes | ||
| ancestors | Yes | ||
| continues | Yes | ||
| downloads | Yes | ||
| page_size | Yes | ||
| generations | Yes | ||
| check_counts | Yes | ||
| checks_shown | No | ||
| checks_total | Yes | ||
| by_generation | Yes | ||
| person_chosen | Yes | ||
| ancestor_slots | Yes | ||
| ancestors_known | Yes | ||
| ancestors_shown | No | ||
| continues_total | Yes | ||
| pedigree_collapse | Yes | ||
| completeness_percent | Yes |