add_family
Link spouses and children into a new family record in a GEDCOM file. Automatically writes FAMS/FAMC back-links for relationship consistency.
Instructions
Create a family (@F..@) linking spouses and/or children; FAMS/FAMC back-links are written too.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_family"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | GEDCOM file name (with or without .ged). Optional when only one file exists. | |
| wife_id | No | ||
| child_ids | No | ||
| husband_id | No | ||
| marriage_date | No | ||
| marriage_place | No |
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 |