get_variables
Retrieve a Figma document's local variables by collection, including each variable's value in every mode, colors as hex, and aliases by referenced name.
Instructions
Get the current document's local variables by collection, with each variable's value in every mode (colors as hex, aliases by the name they point to)
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 |
|---|---|---|---|
| collection | No | Only the collections whose name contains this text |