add_family
Create a family unit linking existing parents and children, with an optional cited marriage event. Each person's family lists update automatically.
Instructions
Create a family linking parents and children, with an optional cited marriage.
All members must already exist (create them first with add_person). Creating the family automatically links each person's family/parent-family lists, so you don't need to update the individuals separately. Cite the marriage event to a marriage record where possible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| father | No | Father: handle or gramps_id. | |
| mother | No | Mother: handle or gramps_id. | |
| children | No | Child handles or gramps_ids. | |
| marriage | No | Optional marriage event; type defaults to 'Marriage'. Cite it. | |
| relationship | No | Family relationship type, e.g. 'Married', 'Unmarried', 'Civil Union'. | Married |
| require_citation | No | Require a citation on the marriage event (default). |