Place a Motion Graphics Template
import_mogrtPlace a .mogrt template on a Premiere Pro sequence timeline at a set time and track, with optional duration, then return the new clip and editable fields.
Instructions
Place a .mogrt file on a sequence's timeline at a time, on a video track (its audio, if any, goes to audio_track_index). Missing video tracks are added. Templates take a few seconds to load. Optionally sets the clip's duration. Returns the new clip (clip_id, track_index, start, end, duration ...), kind ("after_effects" = editable fields, "premiere" = made in Premiere Pro, fields not scriptable), editable, texts and parameters (index, name, type, value). Use add_text_title to place a title and set its text in one call; set_mogrt_text / set_mogrt_parameter to edit an After Effects template afterwards.
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": "import_mogrt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Where the clip starts, in seconds of sequence time. Default 0. | |
| duration | No | Trim or extend the clip to this length, in seconds. Default: the template's own length. | |
| file_path | Yes | The .mogrt file. Absolute path (see find_mogrt_files). | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| audio_track_index | No | 0-based audio track for templates with sound. Default 0. | |
| video_track_index | No | 0-based video track (0 = V1). Default 1 (V2), so the graphic sits above V1 footage. Missing tracks are added. |