Set a colour parameter
set_effect_color_parameterSet a Premiere Pro effect's color parameter from RGBA components (0–255) and return the read-back value. Use it for color values only; non-color parameters fail with UNSUPPORTED.
Instructions
Set a colour parameter of an effect (e.g. Tint's "Map Black To", Drop Shadow's "Shadow Color") from r, g, b, a components 0-255. A parameter that is not a colour fails with UNSUPPORTED. Returns the colour read back as [r, g, b, a]. Use set_effect_parameter for non-colour values.
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": {
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "set_effect_color_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | Alpha, 0-255. Default 255. | |
| b | Yes | Blue, 0-255. | |
| g | Yes | Green, 0-255. | |
| r | Yes | Red, 0-255. | |
| 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. |