Add to Essential Graphics
add_to_essential_graphicsAdds layer properties to a composition's Essential Graphics panel to create editable Motion Graphics template controllers for .mogrt export and Premiere Pro, with optional custom controller names.
Instructions
Expose layer properties in the comp's Essential Graphics panel (for .mogrt templates / Premiere): prop.addToMotionGraphicsTemplateAs(comp, name). Pass layer + property (+ name), or a 'properties' list. Optionally set the template name. Returns the comp's controller list.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_to_essential_graphics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Controller name shown in the Essential Graphics panel (default: AE's '<layer> <property>'). | |
| layer | No | Layer that owns the property (1-based index, name or {id}). | |
| property | No | Property path, '/'-separated, by display name, matchName or 1-based index. Shortcuts: 'Position', 'Scale', 'Rotation', 'Opacity', 'Anchor Point', 'Source Text', 'Time Remap', 'Audio Levels'. Examples: 'Transform/Position', 'Effects/Gaussian Blur/Blurriness', 'Contents/Rectangle 1/Fill 1/Color', 'Masks/Mask 1/Mask Feather'. | |
| properties | No | Several properties to add in one call. | |
| templateName | No | Set the Essential Graphics template name (comp.motionGraphicsTemplateName). |