codegen_design_tokens
Convert Figma design tokens into CSS, SCSS, TypeScript, or JSON. Select the target format to generate design system variables ready for development.
Instructions
Generate CSS variables or TypeScript design tokens from Figma design system.
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": {
"tokens": "<tokens>"
},
"name": "codegen_design_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format | css |
| tokens | Yes | Design tokens extracted from Figma |