run_python
Execute Python code inside the Unreal Editor with unreal imported and return its output, supporting inspection and tasks not covered by other mod-editing tools.
Instructions
Run Python inside the editor, with unreal imported, and return its output.
This is an escape hatch and is not limited to the active mod. Use it for inspection and for gaps in the other tools. Do not use it to bypass the write guards, delete assets, or upload to mod.io without the user asking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |