Rename CityJSON attribute
cityjson_attribute_renameRename an attribute across all CityObjects in a CityJSON dataset with cjio, enabling consistent schema updates and property changes.
Instructions
Rename an attribute across CityObjects with cjio.
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": {
"dataset_id": "<dataset_id>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "cityjson_attribute_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| old_name | Yes | ||
| dataset_id | Yes | Filename returned by cityjson_open, cityjson_import, or a transformation. Internal dataset handles also work for compatibility. |