setup_lighting
Add a 3D light to a Godot scene by specifying a light type (directional, omni, spot) or preset (sun, indoor, dramatic). Set its color, energy, shadows, position, rotation, and spot angle for precise lighting control.
Instructions
Add a 3D light from a light_type or a preset (sun, indoor, dramatic); rotation and spot_angle are in degrees
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "setup_lighting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | ||
| range | No | ||
| energy | No | ||
| preset | No | ||
| shadows | No | ||
| position | No | ||
| rotation | No | ||
| light_type | No | ||
| spot_angle | No | ||
| attenuation | No | ||
| parent_path | No | . | |
| spot_angle_attenuation | No |