create_from_svg
Create vector nodes in Figma from an SVG string, such as icons like chevron, check, or burger. Set flatten to true to merge them into a single vector.
Instructions
Create vector nodes from an SVG string (icons: chevron, check, burger...). flatten true merges them into one vector.
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": "create_from_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| svg | Yes | ||
| name | No | ||
| width | No | ||
| height | No | ||
| flatten | No | ||
| parentId | No |