update_place
Edit a place's type, parent enclosure, name, title, or coordinates with structural guard rails: parents must exist and enclosure cycles are refused.
Instructions
Edit a place's type, parent enclosure, name, title, or coordinates.
This is the tool update_object_fields deliberately refuses to be: place_type and the enclosure are structural, so they get guard rails here -- the parent must already exist, setting it cannot create an enclosure cycle, and a place holding several dated enclosures (a territory-to-state succession) is refused rather than silently flattened. Aim for every place typed, every non-country place parented, and street addresses on events rather than in the place tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Place code (postal etc.). | |
| name | No | New place NAME (the short local name, e.g. 'Cedar Flat'). Omit to leave unchanged. | |
| place | Yes | Place handle or gramps_id (e.g. 'P0001'). | |
| title | No | New full TITLE (e.g. 'Cedar Flat, Brannock County, Ohio, USA') -- the string event-place resolution matches against. | |
| parent | No | Handle or gramps_id of the ENCLOSING place (e.g. the county a city sits in). Must already exist -- never created from a name. Replaces the current single enclosure; refused if the place carries several dated enclosures. | |
| latitude | No | Latitude, e.g. '40.1532'. | |
| longitude | No | Longitude, e.g. '-82.4101'. | |
| place_type | No | New place type: 'Country', 'State', 'County', 'City', 'Town', 'Village', 'Cemetery', etc. Omit to leave unchanged. | |
| remove_parent | No | Clear the enclosure instead of setting one. |