brand_extract_figma
Extract brand identity from a Figma design file by providing variable maps, styles, or logo SVG. Plan mode suggests tools to call; ingest mode processes all collected data.
Instructions
Extract brand identity from a Figma design file. Accepts multiple input formats: variable_map (simple { name: hex } from get_variable_defs), design_context (raw get_design_context output with colors/fonts parsed from code), variables (structured array), styles (text styles), and logo_svg. Two phases: mode='plan' returns which Figma MCP tools to call. Mode='ingest' processes all collected data. Figma values override web extraction based on source_priority. Also accepts figma_url for automatic file key extraction. NOT for web extraction (use brand_extract_web).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | "plan" to get extraction instructions, "ingest" to process collected Figma data | |
| figma_file_key | No | Figma file key from URL | |
| figma_url | No | Full Figma URL - file key and node ID extracted automatically | |
| variables | No | Figma variables in structured format | |
| variable_map | No | Simple { name: hex } map from get_variable_defs | |
| styles | No | Figma text styles | |
| design_context | No | Raw output from get_design_context - colors and fonts parsed from generated code | |
| logo_svg | No | Raw SVG of logo component |