get_figma_variables
Fetch local variables and collections from a Figma file to retrieve design tokens for consistent styling and code generation.
Instructions
Fetch local variables and collections from a Figma file.
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": {
"fileKey": "<fileKey>"
},
"name": "get_figma_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | ||
| responseMode | No | ||
| debugTelemetry | No |