Design asset
vault_get_assetRetrieve an image or SVG source from a vaulted Figma document by specifying its path and doc ID for offline use.
Instructions
An image from the document by the path from node.asset.path (for example assets/logo.svg) or screenshot.png. Raster comes back as an image, svg as its source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path inside the document directory, for example assets/hero.png | |
| docId | Yes | Document id as returned by vault_list |