audit_figma_usage
Audit Figma variable usage against local design tokens to identify unused tokens, missing definitions, and naming discrepancies, ensuring consistency between designs and token system.
Instructions
Audit Figma variable usage and cross-reference with local design tokens. Analyzes sync status between Figma variables and local token definitions, identifies unused tokens, missing definitions, and naming discrepancies. Helps maintain consistency between Figma designs and token system. Note: Requires Figma variable data from mcp_figma_get_variable_defs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaNodeId | No | Optional Figma node ID to analyze. If omitted, analyzes entire file. | |
| figmaFileUrl | Yes | Figma file URL in format: https://www.figma.com/file/KEY/... | |
| figmaVariableDefs | No | Variable definitions from mcp_figma_get_variable_defs. Format: { 'variable/path': '#value', ... } |