create_design_system
Creates a new design system for a project. Use this tool when the user wants to set or update the overall visual theme, style, or branding of the application. This includes configuring:
Color Palette: Presets, custom primary colors, and saturation levels.
Typography: Font families (e.g., Inter, Roboto, etc.).
Shape: Corner roundness for UI elements.
Appearance: Light and dark mode background colors.
Design MD: Free-form design instructions in markdown. This tool establishes the foundational design tokens that apply across all screens in the project.
Instructions for Tool Call:
Call
update_design_systemtool immediately after this tool to apply the design system to the project, and display the design system in the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Optional. The project ID to create design system for, example: '4044680601076201931', without the `projects/` prefix. If empty, creates a global asset (not associated with any project). | |
| designSystem | Yes | Required. The design system to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Identifier. The resource name of the asset. Format: assets/{asset} | |
| version | No | Output only. The version of this asset. 0 indicates unversioned (legacy data). Incremented when the asset content changes. | |
| copiedFrom | No | Optional. The resource name of the asset this was copied from, if any. Format: assets/{asset} Tracks the fork history of assets. | |
| designSystem | No | Optional. The design system. |