Update design system
kaava_update_systemUpdate an existing design system by patching brief fields or overriding individual tokens, then regenerate previously emitted files so CSS, Tailwind, SCSS, TypeScript, and design tokens stay in sync.
Instructions
Change the existing design system: patch brief fields (everything is re-derived) and/or override individual tokens. Files written earlier by kaava_emit are regenerated. Overrides are keyed by token path, e.g. {"radius.control": "{radius.full}", "dark:color.primary": "#8b9cff", "font.size.base": "1.0625rem"}; prefix semantic colors with "light:" or "dark:" to target one theme.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kaava_update_system"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | No | Brief fields to change. Omitted fields keep their current value. | |
| dryRun | No | Return the content that would be written instead of writing files. | |
| overrides | No | Token overrides to add or replace: path -> CSS value or "{other.token}". | |
| projectRoot | No | Absolute path of the project. Defaults to the first workspace root the client exposes, else the server working directory. | |
| removeOverrides | No | Override keys to remove, restoring the derived value. |