Tool Reference
ReadDesign
Read a Figma (.fig) design: its pages (numbered from 1, with ids), each page’s top-level frames and sections with their ids, types, sizes, and positions, the text in each frame (in reading order, with the text layer’s name and id; text shown by component instances included), the components each frame’s instances use, the file’s components and component sets with their properties, defaults, variants, and variant properties, its shared styles, and its variable collections with their modes.