run_python_script
Execute Python code directly in the Unreal Engine Editor to automate workflows and control game objects.
Instructions
Execute Python code in the Unreal Engine Editor (requires Adastrea-Director to be running)
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": "run_python_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to execute in the UE Editor |