scenes
Manage Godot scene files (.tscn) by creating, listing, viewing info, deleting, duplicating, and setting the main scene. Supports actions relative to project root.
Instructions
Scene file (.tscn) CRUD.
Actions (required params -> optional):
create (scene_path -> root_type="Node2D", root_name, project_path)
list (-> project_path)
info (scene_path -> project_path)
delete (scene_path -> project_path)
duplicate (scene_path, new_path -> project_path)
set_main (scene_path -> project_path)
scene_path: relative to project root (e.g., "scenes/main.tscn"), NOT res:// prefix. Use nodes tool to edit nodes within a scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| new_path | No | Destination path (for duplicate) | |
| root_name | No | Root node name for create | |
| root_type | No | Root node type for create (default: Node2D) | |
| scene_path | No | Relative scene file path from project root (e.g., "scenes/main.tscn"), not res:// prefix | |
| project_path | No | Path to Godot project directory |