sync_css_to_figma
Sync CSS variables from a file directly into Figma variable collections, automatically grouping by category or into a single named collection.
Instructions
Read a CSS file and sync all CSS variables to Figma variable collections
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": {
"cssFilePath": "<cssFilePath>"
},
"name": "sync_css_to_figma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cssFilePath | Yes | CSS 파일의 절대 경로 또는 상대 경로 | |
| collectionName | No | 단일 컬렉션으로 묶을 경우의 컬렉션 이름. 미지정 시 카테고리별 자동 그룹화 |