blender_setup_light
Create or update Sun, Point, Spot, or Area lights in Blender, setting energy, color, location, size, and spot angle to control scene illumination.
Instructions
Create or configure a light source (Sun, Point, Spot, Area).
Parameters: light_type: Light type ("POINT", "SUN", "SPOT", "AREA"). energy: Light power in Watts (Point/Spot/Area) or Strength (Sun). light_name: Name of the light object to create or update. color: RGB light tint [r, g, b] (each 0.0 to 1.0). location: World position coordinates [x, y, z]. size: Radius for Point/Spot or size for Area light. spot_size: Spot light beam angle in radians. spot_blend: Spot light edge softness (0.0 to 1.0).
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": {
"light_type": "<light_type>",
"energy": "<energy>"
},
"name": "blender_setup_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| color | No | ||
| energy | Yes | ||
| location | No | ||
| spot_size | No | ||
| light_name | No | ||
| light_type | Yes | ||
| spot_blend | No |