create_polygon
Create regular polygons (triangle, pentagon, hexagon, etc.) by specifying number of sides, radius, center, and orientation.
Instructions
Create a regular polygon (triangle, pentagon, hexagon, etc.) with n sides.
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": {
"radius": "<radius>",
"num_sides": "<num_sides>"
},
"name": "create_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| center | No | [x, y, z] center point | |
| normal | No | [x, y, z] normal vector | |
| radius | Yes | Radius from center to vertices | |
| material | No | ||
| inscribed | No | True if inscribed (default), false if circumscribed | |
| num_sides | Yes | Number of sides (min 3) |