draw_bezier_path
Draw custom straight or curved Bezier vector paths in Illustrator using anchor coordinates and optional control handles, with settings for fill, stroke, opacity, and path closure.
Instructions
Pen Tool: Draw custom straight or smooth Bezier vector paths using anchor coordinates and optional incoming/outgoing control handles.
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": {
"points": "<points>"
},
"name": "draw_bezier_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional path item name | |
| closed | No | Whether to close the vector path | |
| points | Yes | Ordered list of anchor points and optional Bezier handles | |
| fillHex | No | Optional fill hex color | |
| opacity | No | Opacity (0-100) | |
| strokeCap | No | Stroke cap style | |
| strokeHex | No | Optional stroke hex color | |
| strokeJoin | No | Stroke corner join style | |
| strokeWidth | No | Stroke width in points |