freecad_draft_polygon
Creates a regular polygon such as a triangle or hexagon in FreeCAD Draft by specifying side count and circumscribed radius, with optional center coordinates and object name.
Instructions
Create a regular polygon (triangle, hexagon, etc.)
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": {
"sides": "<sides>",
"radius": "<radius>"
},
"name": "freecad_draft_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Center X position (default 0) | |
| y | No | Center Y position (default 0) | |
| z | No | Center Z position (default 0) | |
| name | No | Name for the polygon object | |
| sides | Yes | Number of sides (3=triangle, 6=hexagon, etc.) | |
| radius | Yes | Circumscribed circle radius |