enable_track
Enable or disable a video, audio, or subtitle track in the current timeline by specifying the track type, index, and enabled state.
Instructions
Enable or disable a track in the current timeline.
Args: track_type: Type of track: 'video', 'audio', or 'subtitle'. index: 1-based index of the track. enabled: True to enable, False to disable.
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": {
"track_type": "<track_type>",
"index": "<index>",
"enabled": "<enabled>"
},
"name": "enable_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| enabled | Yes | ||
| track_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |