Find clips in a sequence
find_clipsSearch a Premiere Pro sequence for clips by name, track, media path, duration, or time range and return ordered matches without changing the current selection.
Instructions
Search a sequence for clips. Combine any of: name pattern, track, source project item, media path, disabled, selected, adjustment layer, Motion Graphics template, minimum/maximum duration, time range. All given conditions must hold; with no condition every clip is returned. Results are in timeline order (start time, video before audio, track). Returns total (all matches), returned and clips (up to limit). Does not change the selection. list_clips is the simpler listing in track order; select_clips_by_name / set_clips_enabled / rename_clips take the same filters.
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": "find_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum clips returned. Default 500. | |
| match | No | How name_pattern is compared with the clip name. "contains" (default): substring. "exact": whole name. "wildcard": * = any text, ? = one character, whole name. "regex": a regular expression. | |
| mogrt | No | true: only Motion Graphics Template clips. false: exclude them. Omit: both. | |
| item_id | No | Only clips made from the project item with this id. | |
| disabled | No | true: only disabled clips. false: only enabled clips. Omit: both. | |
| selected | No | true: only selected clips. false: only unselected clips. Omit: both. | |
| range_end | No | Only clips that start before this sequence time, in seconds. Must be greater than range_start. | |
| media_path | No | Only clips whose source media file path contains this text (case-insensitive, slashes normalised). | |
| track_type | No | Only clips on "video" or on "audio" tracks. Default: both. | |
| range_start | No | Only clips that end after this sequence time, in seconds. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | Only clips on this 0-based track (0 = V1 or A1). Needs track_type. | |
| max_duration | No | Only clips at most this long on the timeline, in seconds. | |
| min_duration | No | Only clips at least this long on the timeline, in seconds. | |
| name_pattern | No | Only clips whose timeline name matches this pattern (see match). Omit: any name. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| case_sensitive | No | Compare names case-sensitively. Default false. | |
| adjustment_layer | No | true: only adjustment layers. false: exclude them. Omit: both. |