autocad_create_polyline
Draw a 2D polyline through ordered vertices, optionally close it, and assign it to a target CAD layer.
Instructions
Draw a 2D polyline through a list of vertices.
Args: params (CreatePolylineInput): - points (list[Point]): 2-1000 vertices in order. - closed (bool): join last vertex back to first (default false). - layer (str): target layer (default '0').
Returns: str: JSON {"status": "created", "type": "LWPOLYLINE", "handle", "layer"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |