get_variables
Retrieve variables and variable collections from Figma files using the new Figma Variables API, extracting design tokens for further use.
Instructions
Get variables and variable collections from a Figma file (new Figma Variables API)
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": {
"figmaUrl": "<figmaUrl>"
},
"name": "get_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaUrl | Yes | Figma file URL (any format) |