rename_struct_member
Rename a member of a user-defined Unreal struct by resolving its current display name and applying a new one, with idempotent no-op and collision/unknown errors.
Instructions
Rename a member of a user-defined struct by resolving its current display name to its stable VarGuid, then applying the new display name (the same FStructureEditorUtils::RenameVariable path add_struct_member uses to set the initial name). Idempotent: renaming a member to the name it already has is a no-op success (already_named). An unknown current member, or a new name that collides with another member's name, is an honest error.
Returns: { struct_path: string, member_name: string, new_name: string, renamed: bool, already_named: bool, member: object }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New display name for the member. | |
| member_name | Yes | Member to rename, by its current display name (or internal var name). | |
| struct_path | Yes | Full asset path of the UUserDefinedStruct. |