timeline_markers
List, add, update, delete, or clear document-wide and layer-specific timeline markers with color tags to organize animation timing in Moho projects.
Instructions
List, add, update, delete, or clear document-wide (MohoDoc.fTimelineMarkers) or layer-specific (MohoLayer.fTimelineMarkers) timeline markers with color tags.
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": {
"operation": "<operation>"
},
"name": "timeline_markers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Alias for label | |
| frame | No | ||
| label | No | Marker text label | |
| scope | No | Marker scope (defaults to 'layer' if layer selector passed, else 'document') | |
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| colorTag | No | Marker color tag index (InterpSetting.tags) | |
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| operation | Yes |