light_create
Create omni, spot, or directional lights with optional transforms, brightness, color, shadows, spot angle, and temperature for Toolbag scenes.
Instructions
Create a light: 'omni', 'spot' or 'directional', with optional transform and attributes such as brightness, color [r, g, b], castShadows, width, lengthX, lengthY, spotAngle, useTemperature, temperature (object_attributes lists what this Toolbag build has; 5.02 has no shape or physical units).
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": "light_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| position | No | ||
| rotation | No | ||
| attributes | No | ||
| light_type | No | omni |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||