create_light
Adds a light to the scene with configurable type, position, intensity, color, and rotation. Use it to illuminate 3D environments for accurate rendering.
Instructions
Create a light in the scene.
Args: light_type: Type of light — DistantLight, DomeLight, SphereLight, RectLight, DiskLight, or CylinderLight. position: [x, y, z] world position. intensity: Light intensity. color: [r, g, b] light color (0-1). rotation: [rx, ry, rz] rotation in degrees. prim_path: Custom prim path. Auto-generated if not provided.
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": "create_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| position | No | ||
| rotation | No | ||
| intensity | No | ||
| prim_path | No | ||
| command_id | No | ||
| light_type | No | DistantLight | |
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |