Initialize Design Project
design_initInitialize a design project with a selected style preset, generate a complete token set, and reset any previous state. Provide a project name and optional base color.
Instructions
Initialize a new design project. Sets the overall style, generates a complete token set, and clears any previous state.
The client dashboard will update in real-time when this is called.
Args:
project_name (string): Name for this design project
style (string): Design style — 'minimal', 'bold', 'playful', 'dark', 'editorial', 'tech'
base_color (string, optional): Override the preset base color (hex like "#6366F1")
Examples:
design_init(project_name="电商促销页", style="bold", base_color="#F97316")
design_init(project_name="极简博客", style="minimal")
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": {
"project_name": "<project_name>",
"style": "<style>"
},
"name": "design_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | Design style preset | |
| base_color | No | Override base color (hex, e.g. '#6366F1') | |
| project_name | Yes | Project name |