add_node
Adds a node of a specified type to a Godot scene under a given parent path.
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": {
"projectPath": "<projectPath>",
"parentPath": "<parentPath>",
"nodeName": "<nodeName>",
"nodeType": "<nodeType>"
},
"name": "add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeName | Yes | Name of the node to add | |
| nodeType | Yes | Type of the node | |
| parentPath | Yes | Path to the parent node | |
| projectPath | Yes | Absolute path to the Godot project directory |