Set Pattern Color
pattern_set_colorSet an FL Studio pattern’s display color by 1-based index to visually group patterns in the Pattern Picker and Playlist.
Instructions
Set the display color of an FL Studio pattern by its 1-based index.
Use for visual grouping in the Pattern Picker and Playlist; use channel_set_color,
mixer_set_color, or playlist_set_track_color for other surfaces. Raises a tool
error on invalid pattern index or unparseable color string.
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": {
"index": "<index>",
"color": "<color>"
},
"name": "pattern_set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Target color as '#RRGGBB' hex (e.g. '#3A86FF') or 'rgb(r,g,b)'. | |
| index | Yes | 1-based pattern number whose color will be updated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||