add_child
Attach an existing individual as a child to an existing family in a GEDCOM file, updating the family tree while preserving the original with a backup.
Instructions
Add an existing individual as a child of an existing family.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | GEDCOM file name (with or without .ged). Optional when only one file exists. | |
| child_id | Yes | Record id such as @I12@ | |
| family_id | Yes | Record id such as @I12@ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the record created or modified | |
| file | Yes | ||
| backup | No | Path of the .bak written before saving | |
| message | Yes |