autocad_create_line
Draw a straight line segment between two defined points in an AutoCAD drawing. Specify start, end, and optional layer; the layer is auto-created if missing.
Instructions
Draw a straight line segment.
Args: params (CreateLineInput): - start, end (Point): endpoints, e.g. {"x": 0, "y": 0}. - layer (str): target layer (auto-created if missing; default '0').
Returns: str: JSON {"status": "created", "type": "LINE", "handle", "layer"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |