get_local_variables
Retrieve all local variable collections, modes, and variables from the current Figma document, including hex color values and alias references.
Instructions
Get all local variable collections (with modes) and variables in the current document. Color values are returned as hex, aliases as { aliasOf }.
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_local_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||