Toggle Track Visibility
toggle_track_visibilityShow or hide a video track in Premiere Pro by setting its mute state, and read the state back to confirm visibility.
Instructions
Set video track visibility using Premiere's track mute state (eye icon) and read the mute state back. Premiere's scripting API exposes mute, not a separate video visibility setter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | True to show, false to hide | |
| track_index | Yes | Video track index (0-based) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |