scenes
Create, list, inspect, delete, duplicate, or set main Godot scene files (.tscn) using paths relative to the 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.
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": {
"action": "<action>"
},
"name": "scenes"
}
}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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||