Select clips by name
select_clips_by_nameSelect timeline clips by matching their names using substring, exact, wildcard, or regex patterns; filter video or audio and optionally add matches to the current selection.
Instructions
Select every timeline clip whose name matches a pattern (substring by default; exact, wildcard or regex via match). Clip names default to the source file name. Returns the matched clips; matching nothing is not an error (count 0) and, without add_to_selection, leaves nothing selected.
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": {
"name_pattern": "<name_pattern>"
},
"name": "select_clips_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| track_type | No | Only match "video" or only "audio" clips. Default: both. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| name_pattern | Yes | Text to look for in the clip name, e.g. "interview" or "Shot *". | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| case_sensitive | No | Compare names case-sensitively. Default false. | |
| add_to_selection | No | Keep the current selection and add to it. Default false: the current selection is replaced. |