rename_file
Rename a GEDCOM file without overwriting any existing file, preventing accidental data loss during genealogy edits.
Instructions
Rename a GEDCOM file. Refuses to overwrite an existing file.
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": {
"file": "<file>",
"new_name": "<new_name>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Existing file name | |
| new_name | Yes |
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 |