viewport_light
Check or set viewport lighting modes, including camera and stage lights, to diagnose black captures and adjust illumination before recapturing.
Instructions
Query or control viewport lighting mode.
Actions:
- "get": Return current lighting mode, available modes, and scene lights
- "set": Set lighting mode. Available modes: "off", "camera", "stage",
"Default", "Colored Lights", "Grey Studio" (light rigs)
- "set_camera_light": legacy, turns the camera light on or off
When capture_viewport returns a black image, use this tool to check and change
the lighting mode, then recapture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | For "set": "off", "camera", "stage", or a light rig "get" lists, e.g. "Default" | |
| action | No | "get" the mode, "set" one, or the legacy "set_camera_light" | get |
| enabled | No | For "set_camera_light": turn the camera light on or off |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |