Set a template clip parameter
set_mogrt_parameterSet a single field of an After Effects Motion Graphics Template clip in Premiere Pro by parameter name or index, with typed values for sliders, checkboxes, colors, points, and text.
Instructions
Set one field of an After Effects Motion Graphics Template clip by name or index (see list_mogrt_parameters). value: a number (sliders), true/false (checkboxes), [r, g, b] 0-255 or "#rrggbb" (colours), [x, y] (points) or a string. A value of the wrong form fails with BAD_ARGS. For a text field a plain string changes only the text and keeps font and style (as set_mogrt_text); raw=true writes the string as the field's whole JSON document. Returns before and after, read back from Premiere. Graphics made in Premiere Pro fail with UNSUPPORTED (their fields are not scriptable).
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": {
"value": "<value>"
},
"name": "set_mogrt_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write a string value exactly as given, even to a text field (its JSON document). Default false. | |
| value | Yes | The new value (see the description for the form each parameter type takes). | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| clip_index | No | 0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id. | |
| param_name | No | Parameter name as listed by list_mogrt_parameters (case-insensitive). Give this or param_index. | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "video". | |
| param_index | No | 0-based parameter index from list_mogrt_parameters; used when param_name is not given. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | 0-based track index (0 = V1 or A1). | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |