design_create_swatch
Create a labeled color swatch layer from hex values to display palettes in horizontal, vertical, or grid layouts.
Instructions
Create a color swatch layer showing a palette of colors with labels.
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": {
"colors": "<colors>"
},
"name": "design_create_swatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| colors | Yes | Array of hex color values | |
| labels | No | Optional labels for each color | |
| layout | No |