widget_build_from_json
Builds a Widget Blueprint from a JSON widget tree, creating the asset at the specified package path and asset name, then populates the designer tree.
Instructions
Create a Widget Blueprint from a JSON widget tree using WidgetBlueprintBuilderLibrary. Creates the asset at package_path/asset_name and populates the designer tree.
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": {
"package_path": "<package_path>",
"asset_name": "<asset_name>",
"widget_json": "<widget_json>"
},
"name": "widget_build_from_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_name | Yes | Widget Blueprint asset name e.g. WBP_MyWidget | |
| widget_json | Yes | Widget tree object with type, name, properties, slot, and children fields | |
| package_path | Yes | Content directory path e.g. /Game/UI/Widgets |