execute_editor_script
Run GDScript in the Godot editor process, emit output via _mcp_print(), and return values. File and resource writes are gated by allow_unsafe_editor_io.
Instructions
Run GDScript in the editor process as the body of run(); call _mcp_print(v) to emit output and return a value to send it back; file and resource write APIs are refused unless allow_unsafe_editor_io is true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| allow_unsafe_editor_io | No |