add_camera_layer
Add a camera layer to an After Effects composition with configurable lens presets or custom focal length settings.
Instructions
Add a camera layer to a composition
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": {
"compId": "<compId>"
},
"name": "add_camera_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| name | No | Name of the camera layer | Camera |
| preset | No | Camera lens preset | 50mm |
| focalLength | No | Focal length in mm (for custom preset) |