ue_exec_python
Run arbitrary Python code inside the Unreal Editor using available unreal module and mcp_* helpers. Assign output to result variable for retrieval.
Instructions
Esegue codice Python arbitrario dentro l'editor Unreal (escape hatch).
Il modulo unreal e tutti gli helper mcp_* sono disponibili. Assegna il
valore da restituire alla variabile result.
Args: code: snippet Python, es. "result = len(mcp_actor_subsystem().get_all_level_actors())".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |