get_variable_defs
Read local Figma variables or list collections, including empty ones, with filters for IDs, type, mode, and paging to inspect design tokens before concluding absence.
Instructions
Read local variables or collection inventory. collectionsOnly:true lists collections including empty ones without reading variables; query then matches collection names. Otherwise collections describe the returned variable page or requested IDs, not a complete collection inventory. Follow coverage and pagination before concluding absence. Summary omits values; no arguments preserves the full result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| type | No | ||
| limit | No | ||
| query | No | ||
| offset | No | ||
| modeIds | No | ||
| profile | No | Use summary for discovery; full preserves detailed fields (default). | |
| collectionIds | No | ||
| collectionsOnly | No | Inventory collections, including empty ones; query filters collection names. Supports collectionIds, modeIds and paging, not variable ids/type. Variables are not read. |