Skip to main content

get-color-palettes

Returns all color palettes available to the organization, both system-provided palettes and custom organization palettes. Color palettes can be applied to templates that support palette switching.

Parameters

None.

Response

FieldTypeDescription
colorPalettesarrayList of palettes
colorPalettes[].idstringPalette identifier
colorPalettes[].namestringPalette name
colorPalettes[].descriptionstring | nullDescription
colorPalettes[].isSystembooleantrue for built-in palettes, false for custom
colorPalettes[].colorsobjectColor definitions (see below)
colorPalettes[].createdAtstringISO date
colorPalettes[].updatedAtstringISO date
countnumberTotal number of palettes

Colors object

Each key is a palette role. A palette may not define every role, and palettes can carry additional role keys beyond those listed here. Any role can be referenced from a design via a color token of the form token:<role> (e.g. token:primary). See the Studio tools for brand-aware coloring.

FieldTypeDescription
primarystringPrimary color (hex)
secondarystringSecondary color (hex)
accentstringAccent color (hex)
neutralstring (optional)Neutral color (hex)
backgroundstringBackground color (hex)
textstringText color (hex)
borderstring (optional)Border color (hex)

Example

Request:

{
"tool": "get-color-palettes",
"arguments": {}
}

Response:

{
"colorPalettes": [
{
"id": "pal_abc123",
"name": "Brand Primary",
"description": "Main brand colors",
"isSystem": false,
"colors": {
"primary": "#1A1A2E",
"secondary": "#16213E",
"accent": "#E94560",
"background": "#FFFFFF",
"text": "#1A1A2E"
},
"createdAt": "2026-01-10T08:00:00.000Z",
"updatedAt": "2026-01-10T08:00:00.000Z"
}
],
"count": 1
}