create_path
Create an editable vector directly from an SVG path d string, avoiding a full SVG wrapper for simple paths.
Instructions
Create an editable vector from a single SVG path d attribute string. Shorthand for simple paths without a full SVG wrapper.
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": {
"d": "<d>"
},
"name": "create_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | Yes | SVG path data string (the `d` attribute) | |
| x | No | ||
| y | No | ||
| name | No | Layer name | |
| parentId | No | Parent frame/group node ID | |
| fillColor | No | Fill color | |
| strokeColor | No | Stroke color | |
| strokeWeight | No | Stroke width in pixels |