add_node
Add a Godot node of any ClassDB class or custom script to a specified parent in the active scene, with configurable properties.
Instructions
Add a node of a ClassDB class or project class_name script under a parent in the edited scene
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": {
"type": "<type>"
},
"name": "add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | ||
| properties | No | ||
| parent_path | No | . |