figma_export_json
Export any Figma node's full JSON to a local file and get its path plus a short summary. Choose REST API JSON, a compact resolved tree, or auto fallback for agent workflows.
Instructions
Export the full JSON of a node to a file on disk and return the path plus a short summary. format "rest" = Figma REST API JSON (JSON_REST_V1), "compact" = trimmed tree with resolved style/variable names, "auto" = rest with compact fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | auto | |
| nodeId | Yes | Node id ("1:2" or "1-2") or a Figma URL containing ?node-id= | |
| outPath | No | Where to write the file; defaults to figma-exports/<file>/<node>.json |