set_track_color
Set the color of a track using a hex integer (0xRRGGBB) or an RGB list. Specify track index and color values.
Instructions
Set a track's color. Pass either an int 0xRRGGBB (e.g. 16711680 for red) or a [r, g, b] list with 0-255 values.
Parameters:
track_index: The index of the track
color: 0xRRGGBB int, or [r, g, b]
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_index": "<track_index>",
"color": "<color>"
},
"name": "set_track_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |