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.
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": "figma_scan_design_system"
}
}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) |