create_polygon
Create a polygon path from vertex points, with closed or open stroke and unit selection for CAD drawings and previews.
Instructions
Create a polygon path from vertices. closed selects closed vs open stroke in preview (stored on entity properties). 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_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| layer | No | ||
| closed | Yes | ||
| points | Yes |