add_node
Use this tool to insert a new node into a Godot scene. Specify the project and scene paths, node type, name, and optional properties to customize the node. Integrates with Godot MCP for streamlined scene editing.
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) |