execute_python
Run Python code inside Unreal Editor to automate tasks and retrieve data. Use the result variable to return structured information.
Instructions
Execute arbitrary Python code inside the running Unreal Editor.
The unreal module is pre-imported. Set a variable named result
to return structured data back to Claude Code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |