Create light
create_lightAdd point, spot, parallel, ambient, or environment lights to an After Effects composition with color, intensity, falloff, shadows, and aiming options in one call.
Instructions
Add a light: type 'point' (default), 'spot', 'parallel', 'ambient' or 'environment' (environment needs AE 24.1+ and the Advanced 3D renderer). Sets color, intensity, cone, falloff and shadow options in one call. Spot/parallel lights aim at pointOfInterest (default comp center). Default position: up-left in front of the comp. Layers need to be 3D to be lit.
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 |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Layer name (default 'Light'). | |
| type | No | Light type (default 'point'). | |
| color | No | Light color '#RRGGBB' or [r,g,b]. | |
| 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] for spot/parallel lights. | |
| shadowDiffusion | No | Shadow diffusion in px (soft shadows). | |
| backgroundOpacity | No | Environment light: background opacity %. | |
| backgroundVisible | No | Environment light: show the environment as background. |