Create UI Color Palette
create_color_paletteCreate a reusable SVG App color palette for generated mascots, mascot poses, and UI illustrations.
Use when the user asks for generated assets that should match an app, SaaS product, brand, design system, landing page, dashboard, or specific UI color direction.
Do not use when the project already has a suitable colorPaletteId in svgapp.conf.json or when color consistency is irrelevant.
Next tool to call: merge configPatch.colorPaletteId into svgapp.conf.json, read the updated file, then call create_mascot, generate_mascot_pose, generate_composition, or create_generation.
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": {
"name": "<name>",
"backgroundColor": "<backgroundColor>",
"primaryColor": "<primaryColor>",
"accentColor": "<accentColor>"
},
"name": "create_color_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short human-readable palette name, for example 'Acme Dashboard Palette'. | |
| workspace | No | Optional workspace id or slug from list_workspaces. Defaults to the user's personal workspace. Use the same workspace for every call in a workflow, because generations, mascots, and palettes belong to one workspace. | |
| accentColor | Yes | Secondary accent color as #RRGGBB. Use this for contrast, highlights, or supporting UI details. | |
| customColors | No | Optional named extra brand colors the generation should respect, such as success, warning, chart, or mascot-specific colors. | |
| primaryColor | Yes | Primary brand/action color as #RRGGBB. Use the product's main CTA or brand color. | |
| backgroundColor | Yes | Main UI background color as #RRGGBB. Use the app canvas/page background or a neutral surface color. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configPatch | Yes | Merge this into svgapp.conf.json. | |
| instructions | Yes | Next persistence step for the client. | |
| colorPaletteId | Yes | Palette id to use as colorPaletteId in generation tools. |