exec_unreal_python
Run Python code inside the active Unreal Editor session to automate tasks, manipulate assets, or retrieve game data.
Instructions
Execute Python code in the running Unreal Editor.
Requires Unreal Editor to be running with Python Remote Execution enabled. Check Editor Preferences > Plugins > Python > Enable Remote Execution.
Args: code: Python code to execute in Unreal Editor
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |