generate_tscn_scene
Convert a JSON scene tree into a Godot 4 .tscn file, with resources, sub-resources, groups, node properties, and optional scene instances.
Instructions
Generate a Godot 4 text scene (.tscn) from a JSON scene tree, resources, sub-resources, groups, node properties, and optional scene instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | Scene data containing root, optional resources, optional subResources, and nested children. | |
| overwrite | No | Replace an existing scene. Defaults to false. | |
| scenePath | Yes | Path to the .tscn file relative to projectPath. | |
| projectPath | Yes | Absolute path to a directory containing project.godot. |