Clear volume keyframes
clear_volume_keyframesRemoves Volume > Level keyframes from an audio clip, optionally within a time range, disables animation when none remain, and can set a fixed dB level afterward.
Instructions
Remove all Volume > Level keyframes of an audio clip (or only those between start_time and end_time, sequence seconds) and, when all are removed, turn animation off. Optionally set a fixed level_db afterwards. Returns how many were removed and the resulting level. The clip must be on an audio track; a video clip is rejected with BAD_ARGS (pass its linked audio clip instead; the error names it).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_volume_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| end_time | No | Only remove keyframes at or before this sequence time (seconds). | |
| level_db | No | Fixed level to set after clearing all keyframes, in dB. | |
| 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. | |
| start_time | No | Only remove keyframes at or after this sequence time (seconds). | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "audio" in this toolset; "video" is rejected. | |
| 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. |