add_child_to_family
Add an existing person as a child of an existing family and link the child and family both ways. Duplicate children are skipped; the child must already exist.
Instructions
Add an existing person as a child of an existing family.
Links the child both ways: a ChildRef is added to the family and the family is added to the child's parent-family list. The child must already exist. Duplicate children are skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frel | No | Relationship to the father, e.g. 'Birth', 'Adopted', 'Stepchild'. | Birth |
| mrel | No | Relationship to the mother, e.g. 'Birth', 'Adopted', 'Stepchild'. | Birth |
| child | Yes | Child person handle or gramps_id. | |
| family | Yes | Family handle or gramps_id (e.g. 'F0001'). |