create_scene
Creates a new Godot scene file with a single root node, providing a starting point for building scene trees.
Instructions
Creates a new .tscn file with a single root node. Use add_node afterward to build out the tree.
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"root_name": "<root_name>",
"root_type": "<root_type>"
},
"name": "create_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| root_name | Yes | ||
| root_type | Yes | Godot node class, e.g. "Node2D", "CharacterBody2D", "Control" | |
| scene_path | Yes | Where to write the new scene, e.g. scenes/Player.tscn | |
| project_path | Yes |