Action Godot
Execute Godot GDScript
Executes a GDScript snippet inside the Godot editor via the bridge plugin. The snippet is wrapped in a class that exposes `run()`. Security: this node executes arbitrary code in the editor.
Node IDGodotExecuteGDScriptAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
GDScript script | textarea | Yes | — | GDScript source to execute. The body becomes the contents of a run() function — write statements, not a class wrapper. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Incoming execution signal. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Response Body output0 | object | response_body | Raw JSON response from the Godot plugin. |
Status Code output1 | object | status_code | HTTP status code from the Godot plugin. |