Add layer marker
add_layer_markerAdd a marker to an After Effects layer at a set time with comment, duration, chapter, URL, params, or label color to annotate moments and organize exports.
Instructions
Add a marker to a layer at comp 'time' (default current time) with comment, duration, chapter, URL and label color.
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": {
"layer": "<layer>"
},
"name": "add_layer_marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Web link URL. | |
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Time: seconds (number), '12f' for frames, or 'HH:MM:SS:FF' timecode. | |
| label | No | Marker color label index 0-16 (0 = none, 1 = red, 2 = yellow, 9 = green ...). | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| params | No | Custom key/value parameters stored on the marker. | |
| chapter | No | Chapter name (for exported video). | |
| comment | No | Marker comment text. | |
| duration | No | Marker duration in seconds (0 = single-frame marker). | |
| frameTarget | No | Web link frame target. | |
| cuePointName | No | Flash/cue point name. | |
| protectedRegion | No | Protected region (composition markers with duration; keeps timing when the comp is stretched in Essential Graphics). |