Get Figma design
fabrement-get-figmaA Figma node as build-ready data: a clean HTML/CSS-in-JSON tree (tags, text, inlined icon svg, computed styles, resolved flex/grid) from a fileKey + nodeId. Without nodeId: the file outline — its pages and their top-level frames (id, name, size) — to pick the frame to read. A node too large to read at once returns {tooLarge, children}: read the children one by one. imageIds adds rendered image URLs (for eyeballing, and as upload-media sourceUrl for raster photos); raw:true gives the unprocessed node. Needs a Figma token on the site. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true = the unprocessed Figma node tree (default false = the processed importer tree). | |
| nodeId | No | Node id, colon form (e.g. "12:34"). Omit for the file outline. | |
| fileKey | Yes | Figma file key from the URL. | |
| imageIds | No | Optional CSV of node ids to render as image URLs. |