figma_prepare_design
Prepare a Figma design for Unity by fetching, normalizing, rendering, validating, and persisting the design root into inspectable packets and UGUI prefabs.
Instructions
Fetch, normalize, render, download, validate, and persist one Figma design root.
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": {
"url": "<url>"
},
"name": "figma_prepare_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Figma Design URL or file key. A node-id in the URL takes precedence. | |
| node | No | Frame/Component/Instance id, unique name, partial name, or 1-based list index. | |
| image_scale | No | PNG render scale from 0.01 to 4; defaults to FIGMA_ASSET_SCALE. | |
| force_refresh | No | Fetch Figma again instead of reusing the complete persistent Packet cache. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||