tool_figma_to_code
Read-only
Turn a Figma frame into clean HTML and CSS - export the frame as SVG and paste it here. Free, no account.
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": {
"svg": "<svg>"
},
"name": "tool_figma_to_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | SVG markup exported from Figma | |
| class_prefix | No | CSS class prefix, default fx |