update_person
Update a person's gender, primary name, or privacy flag. Replacing the primary name keeps the old one as an alternate so record links are not lost.
Instructions
Edit a person's gender, primary name, or privacy flag.
Replacing the primary name preserves the old one as an 'Also Known As': a name in the tree came from some record, and dropping it loses the link to whatever document used it. To add a name without replacing the primary one, use add_alternate_name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New PRIMARY name. The current primary name is kept as an alternate rather than discarded. | |
| gender | No | female, male, or unknown. | |
| person | Yes | Person handle or gramps_id (e.g. 'I0001'). | |
| private | No | Gramps private flag. |