add_node
Add a specific node type to a Godot scene by specifying the project, scene, parent node, node name, and optional properties using the Godot MCP server.
Instructions
Add a node to an existing scene
Input Schema
Name | Required | Description | Default |
---|---|---|---|
nodeName | Yes | Name for the new node | |
nodeType | Yes | Type of node to add (e.g., Sprite2D, CollisionShape2D) | |
parentNodePath | No | Path to the parent node (e.g., "root" or "root/Player") | root |
projectPath | Yes | Path to the Godot project directory | |
properties | No | Optional properties to set on the node | |
scenePath | Yes | Path to the scene file (relative to project) |