set_text_block_binding
Bind a Text Block widget's property to a Blueprint variable, enabling dynamic updates to text, visibility, or color in Unreal Engine.
Instructions
Set up a dynamic property binding on a Text Block widget.
Args: widget_name: Widget Blueprint name text_block_name: Text Block component name binding_property: Blueprint variable to bind to binding_type: "Text", "Visibility", "ColorAndOpacity"
KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: set_text_block_binding(widget_name="/Game/MCP_Test/WBP_Example", text_block_name="ExampleName", binding_property="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_name": "<widget_name>",
"text_block_name": "<text_block_name>",
"binding_property": "<binding_property>"
},
"name": "set_text_block_binding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_name | Yes | ||
| binding_type | No | Text | |
| text_block_name | Yes | ||
| binding_property | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |