forge_add_node
Add a new node to the Godot scene tree by specifying parent path, node type, and name to extend game structure.
Instructions
Add a new node to the Godot scene tree. Specify the parent path, node type (e.g., CharacterBody3D, Sprite2D, Camera3D), and name.
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": {
"parentPath": "<parentPath>",
"nodeType": "<nodeType>",
"name": "<name>"
},
"name": "forge_add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parentPath | Yes | Path of the parent node, e.g., "/root/World" or "." for scene root | |
| nodeType | Yes | Godot node type, e.g., "CharacterBody3D", "Sprite2D", "Camera3D", "DirectionalLight3D" | |
| name | Yes | Name for the new node | |
| properties | No | Optional properties to set on the node after creation |