Enable or disable many clips
set_clips_enabledEnable or disable multiple Premiere Pro timeline clips at once, by clip IDs or filter criteria, and get matched and changed counts back.
Instructions
Enable or disable several timeline clips in one call: either the clips listed in clip_ids, or every clip matching the filter arguments (all given conditions must hold). Pass clip_ids, at least one filter, or all=true (BAD_ARGS otherwise). Linked clips are not changed unless they match too. Returns matched_count, changed_count (clips whose state actually changed) and the matched clips.
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": {
"enabled": "<enabled>"
},
"name": "set_clips_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | true = target every clip in the sequence; needed when neither clip_ids nor a filter is given. Default false. | |
| 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. | |
| enabled | Yes | true = enable, false = disable. | |
| item_id | No | Only clips made from the project item with this id. | |
| clip_ids | No | Exact clips to change. When given, the filter arguments and all are ignored. | |
| 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. |