fetch_figma_node
Fetch a Figma design node or file metadata via the Figma API, normalize it into compiler input, and return structured node data with Auto Layout details.
Instructions
Fetch a design node from the Figma API and normalize it into the compiler input format. Returns structured node data (including Auto Layout info).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Fetch node details (node) or file metadata (file_meta) | |
| figmaUrl | Yes | Figma design link | |
| figmaToken | No | Figma Access Token (optional; defaults to the FIGMA_ACCESS_TOKEN env var) |