set_light
Light a shot by applying a lighting preset and/or setting ambient color, level, or individual lights; manual changes create a custom look.
Instructions
Light a shot (shot_id, or scene + shot; left out: the shot on screen): a lighting preset (the style's moods), and/or the ambient colour and level, and single lights. Any hand change makes it a custom look. Ids must come from the current style: call library to see them (a wrong id is refused with the valid list). Returns the lighting. One undo step for the person. To change the light over time, use set_keyframes (scene:light or light:).
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": "set_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shot | No | Shot index from 0 inside that scene (with scene; alone: in the scene on screen). A shot id works here too. | |
| level | No | Ambient level, 0 to 1.2. | |
| scene | No | Scene index from 0 (with shot). Used when shot_id isn't given. | |
| preset | No | Lighting preset id (library lights). | |
| ambient | No | Ambient colour, "#RRGGBB". | |
| shot_id | No | The shot's id from get_project. Or give scene and shot instead. Left out: the shot on screen. | |
| add_light | No | Add one light. | |
| change_light | No | Change one light. | |
| remove_light | No | Light id to remove. |