figma_scan_design_system
Scan the open Figma file to inventory components, variants, variables, styles, and library usage, then return a compact cached summary for design system audits. Use refresh after changes.
Instructions
Scan the open Figma file for components, component sets/variants/properties, variables (+modes), text/paint/effect styles and library components used in the file. Normalizes, infers semantic roles, caches to disk, and returns a COMPACT summary (not the full dump). Use refresh=true after the DS changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reload | No | Re-read the cache file from disk (after editing it) instead of scanning | |
| refresh | No | ||
| maxInstances | No | How many instances to check for library components (default: 3000, or every instance on the current page) | |
| includeLibraries | No | Include enabled library variable collections (default true) |