instance_scene
Instances a source .tscn into a target scene under a parent node, enabling reusable scene composition in Godot projects.
Instructions
Instance a source .tscn into another scene under a parent node
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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>",
"parentNodePath": "<parentNodePath>",
"sourceScene": "<sourceScene>"
},
"name": "instance_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeName | No | Optional name for the instance | |
| scenePath | Yes | Target scene file relative to project | |
| projectPath | Yes | Path to the Godot project directory | |
| sourceScene | Yes | Source .tscn path relative to project | |
| parentNodePath | Yes | Parent path like root or root/Level |