Remove a keyframe
remove_keyframeRemove one effect-parameter keyframe at or near a given time using a tolerance. Returns the removed time and remaining keyframe count, and fails if no keyframe is found.
Instructions
Remove the keyframe of an effect parameter at a time. The nearest keyframe within tolerance seconds is removed; fails with NOT_FOUND when there is none. Returns removed_time and the remaining keyframe_count. Use remove_keyframes_in_range or clear_keyframes for several.
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": {
"time": "<time>"
},
"name": "remove_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time of the keyframe, in seconds (see time_base). | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| time_base | No | How times are measured. "sequence" (default): sequence time, seconds from the start of the timeline. "clip": clip source time, seconds from the start of the source media (the unit Premiere stores keyframes in). Times in the result use the same base. The sequence-to-source conversion ignores clip speed: on a speed-changed or reversed clip use "clip". | |
| tolerance | No | How far from `time` the keyframe may be, in seconds. Default half a frame of the sequence. | |
| 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. |