Add many markers
add_markers_bulkAdd multiple markers to an After Effects composition or layer in one call, using seconds, frames, or timecode—ideal for importing beat lists, subtitles, or scripted cue points.
Instructions
Add many markers in one call to the composition (default) or to a layer, e.g. from a script, a beat list or subtitles: markers = [{time, comment, duration, label, chapter, url, protectedRegion}, ...]. Time per marker in seconds, '12f' or timecode.
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": {
"markers": "<markers>"
},
"name": "add_markers_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layer | No | Add to this layer instead of the composition. | |
| markers | Yes | Markers to add. |