create_light
Create a light node in a Godot scene, choosing from directional, spot, or omni types, and configure color, energy, range, angle, shadow, position, and rotation.
Instructions
Create a light node (DirectionalLight3D, SpotLight3D, OmniLight3D) with configuration.
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>",
"scenePath": "<scenePath>"
},
"name": "create_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Scene file path | |
| parentPath | No | Parent node path (default: root) | |
| lightType | No | Light type: "directional", "spot", "omni" | |
| options | No | Options: { color: [r,g,b], energy: float, range: float, angle: float, shadow: bool, position: [x,y,z], rotation: [x,y,z] } |