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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"docId": "<docId>",
"path": "<path>"
},
"name": "vault_get_asset"
}
}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 |