add_named_slot_to_widget
Add a Named Slot placeholder to a Widget Blueprint, enabling child widget content injection for reusable container widgets.
Instructions
Add a Named Slot placeholder to a Widget Blueprint.
Named Slots allow child widget content injection when the widget is used as a parent. Essential for reusable frame/container widgets.
Args: widget_name: Widget Blueprint name slot_name: Named slot identifier position: [X, Y] position size: [Width, Height]
KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: add_named_slot_to_widget(widget_name="/Game/MCP_Test/WBP_Example", slot_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| position | No | ||
| slot_name | Yes | ||
| widget_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |