generate_figma_html
Converts Figma layout data into HTML structure for website prototyping, using a file key and node IDs and optionally writing output to a specified file path.
Instructions
Generate HTML structure from Figma layout data
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": {
"fileKey": "<fileKey>",
"ids": "<ids>"
},
"name": "generate_figma_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of node IDs to generate HTML for | |
| fileKey | Yes | The Figma file key | |
| outputPath | No | Output HTML file path (optional) |