widget_set_property
Set a child widget property in Unreal Engine, including Text, FontSize, ColorAndOpacity, Visibility, or RenderTransformAngle. Provide widget blueprint path, widget name, property name, and value.
Instructions
Set a common property on a child widget.
Supported native properties include Text, FontSize,
ColorAndOpacity, BrushTintColor, BrushSize, Percent,
FillColorAndOpacity, Visibility, and RenderTransformAngle.
Color and vector values should be comma-separated strings such as
1,0.2,0.1,1 or 256,64.
KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: widget_set_property(widget_blueprint_path="/Game/MCP_Test/BP_Example", widget_name="/Game/MCP_Test/WBP_Example", property_name="ExampleName", property_value="ExampleName")
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": {
"widget_blueprint_path": "<widget_blueprint_path>",
"widget_name": "<widget_name>",
"property_name": "<property_name>",
"property_value": "<property_value>"
},
"name": "widget_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_name | Yes | ||
| property_name | Yes | ||
| property_value | Yes | ||
| widget_blueprint_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |