List variables (design tokens)
figma_get_variablesRetrieve Figma variable collections, modes, and per-mode values, including named aliases, from a Figma link. Use it to inspect design tokens without Dev Mode or a paid seat.
Instructions
Lists variable collections, modes (e.g. Light/Dark) and every variable's value per mode, with aliases shown by name. Works on any plan through the web source or the plugin; the REST source needs Enterprise.
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": {
"url": "<url>"
},
"name": "figma_get_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Figma link, e.g. https://www.figma.com/design/<fileKey>/<name>?node-id=12-345 (right-click a layer > Copy link to selection). A bare file key also works. | |
| format | No | yaml (default, ~30% fewer tokens) or json | yaml |
| source | No | Where to read from. auto (default): Figma's viewer protocol (no token, no Dev Mode), then the REST API if FIGMA_TOKEN is set, then the plugin. web/rest/plugin force one. | auto |
| collection | No | Only this collection (name substring) | |
| name_contains | No |