Overwrite clip
overwrite_clipReplace existing timeline material by placing a project item at a specified time on target video and audio tracks, without shifting other clips.
Instructions
Place a project item in a sequence at a time, replacing whatever occupies that span on the tracks that receive material; nothing else moves. Picture goes to video_track_index and the item's audio, linked to it, to audio_track_index. Optionally use only part of the source (source_in / source_out, seconds of source time). Use insert_clip to push later material right instead, place_clip_on_track for a single track. Returns the created clips and the sequence duration.
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": "overwrite_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Timeline position where the clip starts, in seconds. Snapped to a frame. | |
| item_id | No | Stable project item id (from list_project_items). Preferred. | |
| item_name | No | Item name; the first match in the project is used. | |
| item_path | No | Path in the Project panel, e.g. "Footage/Day 1/clip.mp4". | |
| source_in | No | Start of the part of the source to use, in seconds from the media start. Default: the item's current in point (normally 0). | |
| source_out | No | End of the part of the source to use, in seconds from the media start. Default: the item's current out point (normally the media end; the default still duration for a still). | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| audio_track_index | No | 0-based audio track that receives the item's audio (0 = A1). Default 0. | |
| video_track_index | No | 0-based video track that receives the picture (0 = V1). Default 0. |