Download Moonvy asset
moonvy_download_assetDownload design slices, snapshots, image fills, or top-level files from Moonvy to a specified local directory for frontend implementation.
Instructions
Download a design slice, snapshot, image fill, or top-level file/preview into an absolute local output directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Moonvy URL, normally /project/:projectId/:dirId/:fileId | |
| type | No | ||
| nodeId | Yes | Layer ID such as 4:1224, or a top-level Moonvy file UUID | |
| filename | No | Optional safe local filename | |
| outputDir | Yes | Absolute local directory where the asset should be written | |
| sliceFormat | No | Requested slice variant such as svg, base, or max |