create_curve
Build a 3D curve in SketchUp from millimeter coordinate points, optionally closing it and wrapping it in a group that returns its bounds and details.
Instructions
Create a SketchUp curve from 3D points.
All coordinates are millimeters (mm).
Points are interpreted as model coordinates [x, y, z]. The resulting curve is wrapped in a SketchUp Group.
Set closed=true to connect the final point back to the first point.
Returns JSON containing: {id, name, type, closed, point_count, bbox_mm{min,max}}.
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": "create_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the curve group | |
| closed | No | Whether to close the curve by connecting the last point to the first point | |
| points | Yes | 3D curve points [[x,y,z], ...] in mm. At least 2 points. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |