ue5_set_property
Sets a UProperty value on any UObject in Unreal Engine 5 with undo support. Use setter functions for component properties that are unavailable remotely.
Instructions
Sets the value of a UPROPERTY on a UObject. Supports undo (Ctrl+Z). NOTE: Component properties (e.g., RootComponent, LightComponent) are often unavailable remotely. Use ue5_call_function with setter functions like SetActorScale3D instead.
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": {
"objectPath": "<objectPath>",
"propertyName": "<propertyName>",
"value": "<value>"
},
"name": "ue5_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectPath | Yes | The path to the UObject. | |
| propertyName | Yes | The name of the property to set. | |
| value | Yes | The value to set the property to (can be string, number, boolean, object, or array). |