Get local Figma variables
get_variable_defsRead local variable collections and values from the open Figma file to inspect design tokens and resolve variables without consuming the official Figma MCP quota.
Instructions
Read local variable collections and variable values from the open Figma file.
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_variable_defs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Optional key of the Figma file to target. Omit to use the most recently active file; see get_plugin_status. | |
| maxVariables | No |