Rename attribute folder
rename_attribute_folderRename an Archicad attribute folder by path or GUID. Updates folder names for layers, surfaces, and other attribute types in a live project.
Instructions
Renames an attribute folder (path or GUID). Output: {ok, folder: {path, guid}}.
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": {
"attributeType": "<attributeType>",
"folder": "<folder>",
"newName": "<newName>"
},
"name": "rename_attribute_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Folder to rename: path (['A','B'] / 'A/B') or {guid} | |
| newName | Yes | New folder name | |
| attributeType | Yes | Attribute type: BuildingMaterial, Composite, Fill, Layer, LayerCombination, Line, PenTable, Profile, Surface or ZoneCategory |