Inspect a .mogrt file
inspect_mogrt_fileReads a .mogrt file directly to reveal its template title, author app, duration, frame rate, dimensions, fonts, and editable controls with defaults, without placing it in Premiere Pro.
Instructions
Read a .mogrt file's definition without placing it: template title, author_app ("aefx" = made in After Effects, "ppro" = made in Premiere Pro), duration (seconds), frame_rate, width, height, fonts, and controls (each editable field with name, type text/checkbox/slider/color/point/group and its default value). Reads the file directly; Premiere is not needed. Only After Effects templates can be edited by script after placing (set_mogrt_text, set_mogrt_parameter); Premiere-made ones keep their default text. Use list_mogrt_parameters for a template already on the timeline.
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": {
"file_path": "<file_path>"
},
"name": "inspect_mogrt_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | The .mogrt file. Absolute path. |