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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"family_id": "<family_id>",
"child_id": "<child_id>"
},
"name": "add_child"
}
}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 |