create_vector
Draw custom vector paths in Figma using SVG-like path data. Set fill, stroke, and stroke weight to create precise shapes.
Instructions
Draw custom vector paths using SVG-like path 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": {
"pathData": "<pathData>"
},
"name": "create_vector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | Fill color | |
| name | No | Vector name | |
| stroke | No | Stroke color | |
| parentId | No | Parent node ID | |
| pathData | Yes | SVG path data (M, L, C, Q, Z commands) | |
| strokeWeight | No | Stroke weight |