get_variables
List local Figma variable collections, modes, and variables with values per mode, optionally filtered by file or collection, to inspect design tokens before editing.
Instructions
List local variable collections, modes and variables with their values per mode.
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 |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| collection | No | Filter by collection name or id |