scene_instantiate
Instantiates a source scene as a child node within a target scene, enabling modular composition and reuse of scene components in Godot.
Instructions
Instance a scene as a child node in another scene.
Category: Scene
Args: project_path: Path to the Godot project directory target_scene_path: Path to the scene where the instance will be added source_scene_path: Path to the scene to instance (e.g., "scenes/player.tscn") parent_node_path: Path to the parent node (default: "root") instance_name: Optional custom name for the instance
Returns: Success message or error description
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>",
"target_scene_path": "<target_scene_path>",
"source_scene_path": "<source_scene_path>"
},
"name": "scene_instantiate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| target_scene_path | Yes | ||
| source_scene_path | Yes | ||
| parent_node_path | No | root | |
| instance_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |