generate_css_variables_from_figma
Parse Figma JSON token exports and return a CSS string with a :root block defining custom properties for each token, so you can use real CSS variables instead of RAG ingestion.
Instructions
Parses Figma JSON token exports and returns a CSS string with a :root block defining CSS custom properties (variables) for each token. Use this to generate actual CSS rather than ingesting into the RAG.
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": {
"tokensJsonStr": "<tokensJsonStr>"
},
"name": "generate_css_variables_from_figma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokensJsonStr | Yes |