Set an effect parameter
set_effect_parameterSet one effect parameter to a static number, boolean, [x,y] point, or string, returning previous and read-back values; keyframed parameters must use add_keyframe or clear_keyframes instead.
Instructions
Set the static value of one effect parameter (number, boolean, [x, y] array or string). Returns previous_value and the value read back from Premiere, which may differ if Premiere clamped it; applied is true when the read-back value equals the request. A parameter that has keyframes is refused with UNSUPPORTED: change it with add_keyframe or call clear_keyframes first. Works on intrinsic effects too (e.g. effect_name "Opacity"); points such as Motion's Position are normalised [x, y] where [0.5, 0.5] is the frame centre. Use set_effect_parameters for several parameters of one effect, set_effect_color_parameter for colours, and the motion tools (set_clip_scale, set_clip_position ...) for transforms.
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_effect_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New value: a number, a boolean (checkbox), an array of numbers ([x, y] point, normalised 0-1 for Motion/Transform positions) or a string. Use set_effect_color_parameter for colours. | |
| 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 display name, case-insensitive, e.g. "Blurriness". The first match is used. Ignored when param_index is given. | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "video". | |
| effect_name | No | Effect display name or match name, case-insensitive, e.g. "Gaussian Blur" or "Motion". The first match is used. Ignored when effect_index is given. | |
| param_index | No | 0-based parameter index (from get_effect_parameters). Required for parameters with an empty display name. | |
| 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). | |
| effect_index | No | 0-based index of the effect in the clip's effect list (from list_clip_effects). Use it when the clip has two effects with the same name. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |