game_spawn_node
Creates a new Godot runtime node of any specified type, with optional name, parent path, and properties, so AI assistants can add scene objects during live game control.
Instructions
Create a new node of any type at runtime
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": "game_spawn_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new node. Default: auto-generated | |
| type | Yes | Node class name (e.g. "Sprite2D", "CharacterBody3D") | |
| parentPath | No | Parent node path. Default: "/root" | |
| properties | No | Properties to set on the new node |