remove_struct_member
Remove a member from a user-defined struct in Unreal Engine. The operation is idempotent and blocks removal of the last member to keep the struct non-empty.
Instructions
Remove a member from a user-defined struct. Idempotent (a missing member reports already_absent without error); the engine refuses to remove the last remaining member (a struct cannot be empty) -- reported as an honest error.
Returns: { struct_path: string, member_name: string, removed: bool, already_absent: bool, member_count: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_name | Yes | Member to remove, by its display name (or internal var name). | |
| struct_path | Yes | Full asset path of the UUserDefinedStruct. |