setup_lighting
Adds a directional, omni, or spot light node to the scene, with configurable properties like color, energy, and shadow.
Instructions
Add a light node (DirectionalLight3D, OmniLight3D, SpotLight3D)
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": {
"parent": "<parent>",
"type": "<type>"
},
"name": "setup_lighting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Light type | |
| parent | Yes | Parent node path. Use '' (empty string) to add at scene root, or a node name/path (e.g. 'Player' or 'Player/Sprites') to add as a child of that node. | |
| properties | No | Light properties (color, energy, position, shadow_enabled, etc.) |