figma_get_library_variables
Retrieve design variables from a Figma library collection using its key. Filter by variable name or type to limit results and reduce token consumption.
Instructions
Get variables from a library collection by key. Filter by type or name to reduce token usage.
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": {
"collectionKey": "<collectionKey>"
},
"name": "figma_get_library_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max variables to return (default 200) | |
| namePattern | No | Filter by substring match on variable name (case-insensitive) | |
| resolvedType | No | Filter by variable type | |
| collectionKey | Yes |