fetch_frame
Downloads a Figma frame to local output: writes PNG, node JSON, and normalized image-fill map in one transaction, while returning size, checksum, and read-back proof.
Instructions
Read one Figma frame and transactionally write frame.png, node.json, and a normalized imageRef-to-URL fills.json map under the output directory. Returns upstream request proof plus local size, SHA-256, PNG structure/dimensions, and JSON read-back proof. Existing unrelated files are preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | PNG scale from 0.01 through 4; default 1. | |
| node_id | Yes | Exact frame node ID, normally colon-form such as 2968:811. | |
| out_dir | Yes | Directory below the output root (default ./figma-output). | |
| file_key | Yes | File key parsed from the Figma URL. |