tree
Manage Ancestry family trees: list owned or shared trees, create new ones, update details, set privacy, export/import GEDCOM, or delete with confirmation.
Instructions
Family trees the user owns. Actions: list (own or shared trees) · get (home person, counts, quality stats) · create (new tree with a root person) · update (name/description) · set_privacy · export_gedcom (writes ZIP with .ged to outPath, or returns base64) · import_gedcom (local .ged file → NEW tree, waits for completion) · delete (PERMANENT; requires confirmName = exact tree name; confirm with the user first). Required: get/update/set_privacy/export_gedcom/delete need treeId; create needs name + root* fields; import_gedcom needs name + filePath.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| action | Yes | ||
| rights | No | ||
| treeId | No | Tree id from tree.list | |
| outPath | No | Absolute local path to write the export ZIP | |
| filePath | No | Absolute local path (.ged for import) | |
| isPublic | No | ||
| rootGender | No | ||
| rootLiving | No | ||
| searchable | No | set_privacy: allow tree to be found in search | |
| confirmName | No | ||
| description | No | ||
| rootLastName | No | ||
| rootBirthDate | No | ||
| rootFirstName | No | ||
| rootBirthPlace | No |