Set light options
set_light_optionsChange a light's type, color, intensity, cone settings, falloff, shadows, or environment background, plus position and point of interest, as static values or keyframes; returns its options.
Instructions
Change any light option (type, color, intensity, cone angle/feather, falloff, radius, shadows, environment background) and optionally its position / point of interest, statically or as keyframes at 'time'. Returns the light's options.
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": "<light>"
},
"name": "set_light_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Set the values as keyframes at this time (seconds, '12f' or timecode). Omit = static value (or a key at the current time when the property is already animated). | |
| type | No | Change the light type. | |
| color | No | Light color '#RRGGBB' or [r,g,b]. | |
| light | Yes | Light layer (index, name or {id}). | |
| radius | No | Falloff radius in px (falloff Smooth / Inverse Square Clamped). | |
| falloff | No | Falloff type: 'None', 'Smooth' or 'Inverse Square Clamped' (or 1-3). | |
| options | No | Any other option by display name or matchName, e.g. {'Iris Rotation': 30} or {'ADBE Light Intensity': 80}. | |
| position | No | Light position [x,y,z]. | |
| coneAngle | No | Spot cone angle in degrees (spot lights). | |
| intensity | No | Intensity % (100 = default, can exceed 100 or be negative to subtract light). | |
| coneFeather | No | Spot cone feather % (spot lights). | |
| castsShadows | No | Light casts shadows (layers also need Casts Shadows on). | |
| backgroundBlur | No | Environment light: background blur %. | |
| shadowDarkness | No | Shadow darkness %. | |
| falloffDistance | No | Falloff distance in px (Smooth falloff). | |
| pointOfInterest | No | Point of interest [x,y,z]. | |
| shadowDiffusion | No | Shadow diffusion in px (soft shadows). | |
| backgroundOpacity | No | Environment light: background opacity %. | |
| backgroundVisible | No | Environment light: show the environment as background. |