create_node
Add a new node of the specified class to the current Godot scene, optionally under a chosen parent. The action is undoable and defaults to the scene root.
Instructions
Create a node of the given class and add it to the open scene (undoable). parent = a node path/name (default: scene root).
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": "create_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | node class, e.g. Sprite2D | |
| parent | No | parent node path/name; default scene root |