create_polyline
Draw a polyline through a series of X/Y points in a CAD drawing, optionally closing the shape and setting the unit for geometry and SVG previews.
Instructions
Create a polyline. If closed is true, stroke is closed in SVG preview. Points use unit (default mm).
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>",
"closed": "<closed>"
},
"name": "create_polyline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| layer | No | ||
| closed | Yes | ||
| points | Yes |