Local variables
get_variablesRetrieve local Figma variable collections and modes with per-mode values for color, number, string, and boolean variables, including hex colors and alias details.
Instructions
Local variable collections (modes) and variables with values per mode. Colors are hex; aliases are {alias: id, name}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring of variable name | |
| type | No | ||
| limit | No | ||
| collection | No | Collection name or id |