Select clips in a time range
select_clips_in_rangeSelect timeline clips that intersect or lie fully within a time range, optionally scoped to a track type or track, and return the matched clips and resulting selection.
Instructions
Select the clips that lie in a time range of the sequence. mode "overlap" (default) takes every clip that intersects the range; "inside" takes only clips entirely within it. Optionally limited to one track type or one track. Returns the matched clips and the resulting selection. To list clips in a range without selecting them use get_clips_in_range.
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": "<start>",
"end": "<end>"
},
"name": "select_clips_in_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Range end, in seconds of sequence time. Must be greater than start. | |
| mode | No | "overlap" (default): clips that intersect the range. "inside": clips fully contained in it. | |
| start | Yes | Range start, in seconds of sequence time. | |
| track_type | No | Only "video" or only "audio" tracks. Default: both. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | Only this 0-based track (0 = V1 or A1). Needs track_type. Omit: all tracks. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| add_to_selection | No | Keep the current selection and add to it. Default false: the current selection is replaced. |