editor.utility.runUtilityWidget
Spawn and register an Editor Utility Widget from a blueprint asset.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asset_path | string | Yes | Path to EditorUtilityWidgetBlueprint (e.g. /Game/Tools/MyWidget.MyWidget) |
Returns:
| Name | Type | Description |
|---|---|---|
success | boolean | Whether the widget was spawned |
tab_id | string | The tab ID assigned (use for close/check) |
asset_path | string | Echo of the asset path |
widget_class | string | Runtime class name of the spawned widget |
Example Request:
{
"jsonrpc": "2.0",
"method": "editor.utility.runUtilityWidget",
"params": { "asset_path": "/Game/Tools/MyWidget.MyWidget" },
"id": 1
} Example Response:
{
"jsonrpc": "2.0",
"result": {
"success": true,
"tab_id": "MyWidget_0",
"asset_path": "/Game/Tools/MyWidget.MyWidget",
"widget_class": "MyWidget_C"
},
"id": 1
} editor.utility.getUtilityWidgets
List all registered Editor Utility Widget tabs.
No parameters.
Returns:
| Name | Type | Description |
|---|---|---|
widgets | array | List of registered utility widget entries |
count | number | Number of registered widgets |
Each widget entry:
| Name | Type | Description |
|---|---|---|
tab_id | string | The tab ID |
asset_path | string | Blueprint asset path |
display_name | string | Display name |
is_open | boolean | Whether the tab is currently open |
Example Request:
{
"jsonrpc": "2.0",
"method": "editor.utility.getUtilityWidgets",
"params": {},
"id": 1
} Example Response:
{
"jsonrpc": "2.0",
"result": {
"widgets": [
{
"tab_id": "MyWidget_0",
"asset_path": "/Game/Tools/MyWidget.MyWidget",
"display_name": "MyWidget",
"is_open": true
}
],
"count": 1
},
"id": 1
} editor.utility.closeUtilityWidget
Close a running Editor Utility Widget tab by ID.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
tab_id | string | Yes | The tab ID to close (from runUtilityWidget or getUtilityWidgets) |
Returns:
| Name | Type | Description |
|---|---|---|
success | boolean | Whether the tab was closed |
tab_id | string | Echo of the tab ID |
message | string | Error message if tab not found |
Example Request:
{
"jsonrpc": "2.0",
"method": "editor.utility.closeUtilityWidget",
"params": { "tab_id": "MyWidget_0" },
"id": 1
} Example Response:
{
"jsonrpc": "2.0",
"result": { "success": true, "tab_id": "MyWidget_0" },
"id": 1
} editor.utility.getNotifications
Get recent messages from the editor's Message Log system.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
log_name | string | No | Message log name (default: BlueprintLog). Common: MapCheck, AssetCheck, LoadErrors, PIE, LightingResults, PackagingResults |
max_count | number | No | Maximum messages to return (default: 50, max: 500) |
Returns:
| Name | Type | Description |
|---|---|---|
log_name | string | The log name queried |
messages | array | List of message objects |
count | number | Number of messages returned |
total | number | Total messages in the log |
Each message:
| Name | Type | Description |
|---|---|---|
severity | string | Error, Warning, PerformanceWarning, or Info |
message | string | The message text |
identifier | string | Optional message identifier |
Example Request:
{
"jsonrpc": "2.0",
"method": "editor.utility.getNotifications",
"params": { "log_name": "MapCheck", "max_count": 10 },
"id": 1
} Example Response:
{
"jsonrpc": "2.0",
"result": {
"log_name": "MapCheck",
"messages": [
{ "severity": "Warning", "message": "Maps need lighting rebuilt" }
],
"count": 1,
"total": 1
},
"id": 1
}