ue_python
Execute arbitrary Python scripts inside Unreal Editor with full unreal module access. Retrieve output using print().
Instructions
Run arbitrary Python inside the Unreal Editor (full unreal module access).
This is the escape hatch for anything the dedicated tools do not cover. Use print() for output you want back.
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": {
"code": "<code>"
},
"name": "ue_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |