create_polyline
Draw a polyline through specified x,y coordinates in millimeters. Optionally close the shape by connecting the last point to the first, and assign a layer.
Instructions
Draw a polyline through [[x, y], ...] points (mm); closed=True joins last to first.
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_polyline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| closed | No | ||
| points | Yes | ||
| fit_view | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||