Node Create
node_createCreate a new Godot scene tree node by class type or instantiate a PackedScene under a specified parent, so AI assistants can build and extend scenes in the live editor.
Instructions
Create (spawn) a new node in the scene tree.
Creates a node of the given type and adds it to the parent, or
instantiates a PackedScene from scene_path. type and scene_path
are mutually exclusive — when scene_path is given, type is ignored.
Creating below an instance's internal nodes requires Editable Children to be enabled in Godot. Attaching directly to its root is supported.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "node_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name; Godot auto-names if empty. | |
| type | No | Godot node class (e.g. "Node3D", "MeshInstance3D"). | |
| scene_file | No | Optional editor-scene guard (EDITED_SCENE_MISMATCH). | |
| scene_path | No | Optional res:// path of a PackedScene to instantiate. | |
| session_id | No | Optional Godot session to target. Empty = active session. | |
| parent_path | No | Parent path relative to the edited scene root (e.g. "/Main"), NOT runtime "/root/...". Empty = scene root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||