extract-svg-assets
Extract SVG assets from Figma files by analyzing the SDL structure and downloading resources using specified file keys and node IDs.
Instructions
分析figma SDL中的结构,并调用download-svg-assets工具下载Figma文件中使用的SVG资源
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fileKey | Yes | The key of the Figma file to fetch, often found in a provided URL like figma.com/(file|design)/<fileKey>/... | |
nodeId | No | The ID of the node to fetch, often found as URL parameter node-id=<nodeId>, always use if provided |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fileKey": {
"description": "The key of the Figma file to fetch, often found in a provided URL like figma.com/(file|design)/<fileKey>/...",
"type": "string"
},
"nodeId": {
"description": "The ID of the node to fetch, often found as URL parameter node-id=<nodeId>, always use if provided",
"type": "string"
}
},
"required": [
"fileKey"
],
"type": "object"
}