add-marker
Place a marker on an After Effects layer or composition at a specified time, with optional comment, label color, chapter, URL, and duration.
Instructions
Add a marker to a layer or composition at a specified time. Markers can include a comment, label color, chapter name, URL and duration.
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": {
"compIndex": "<compIndex>"
},
"name": "add-marker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to open when the marker is reached (for web export). | |
| label | No | Label color index (0 = none, 1-16 map to AE label colors). | |
| chapter | No | Chapter name associated with the marker. | |
| comment | No | Marker comment / label text. | |
| duration | No | Marker duration in seconds (0 = point marker). | |
| compIndex | Yes | 1-based composition index. | |
| layerName | No | Target layer name (alternative to layerIndex). | |
| layerIndex | No | Target layer index (required for layer markers). | |
| markerType | No | 'layer' (default) or 'comp' for a composition marker. | |
| timeInSeconds | No | Time in seconds where the marker is placed. Defaults to current time. |