figma_generate_html
Generate semantic HTML from a Figma node, with optional semantic tags and styles, turning designs into accessible, maintainable code.
Instructions
Generate semantic HTML from a node.
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": {
"nodeId": "<nodeId>"
},
"name": "figma_generate_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| semanticTags | No | ||
| includeStyles | No |