add_node
Adds a new node of a specified Godot class to the currently open scene, with optional parent path, name, and initial properties.
Instructions
Add a new node to the currently open 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": {
"type": "<type>"
},
"name": "add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new node | |
| type | Yes | Godot node class (e.g. Sprite2D, MeshInstance3D) | |
| properties | No | Initial property values to set on the node | |
| parent_path | No | Path of the parent node |