Export Palette to Design Formats
palette_exportExport a colour palette to CSS custom properties, Figma tokens, Tailwind config, ASE hex list, or JSON. Colours are automatically named from the archive.
Instructions
Export a palette to CSS custom properties, Figma design tokens, Tailwind config, ASE hex list, or JSON. Each colour is automatically named from the archive. Embeds Colour Memory directly into design workflows.
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": {
"palette": "<palette>"
},
"name": "palette_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| palette | Yes | Hex values to export | |
| format | No | css | figma | ase_hex | tailwind | json | |
| names | No | Optional custom names | |
| prefix | No | Token prefix e.g. cm, brand (default: cm) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| error | No |