Remove keyframes in a time range
remove_keyframes_in_rangeRemoves every keyframe for an effect parameter within an inclusive start/end time range while leaving animation enabled, and reports removed and remaining keyframe counts.
Instructions
Remove every keyframe of an effect parameter between start_time and end_time (both inclusive). Animation stays on. Returns removed_count, removed_times and the remaining keyframe_count.
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": {
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "remove_keyframes_in_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| end_time | Yes | Range end, in seconds (see time_base). Must not be before start_time. | |
| 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". | |
| 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. | |
| start_time | Yes | Range start, in seconds (see time_base). | |
| 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. |