draw_regular_polygon
Draws regular polygons on an SVG canvas by specifying center coordinates, radius, number of sides, and visual properties like fill color and stroke width.
Instructions
정다각형을 그립니다.
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": {
"cx": "<cx>",
"cy": "<cy>",
"radius": "<radius>",
"sides": "<sides>"
},
"name": "draw_regular_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | Yes | 중심 X 좌표 | |
| cy | Yes | 중심 Y 좌표 | |
| radius | Yes | 반지름 | |
| sides | Yes | 변의 개수 | |
| rotation | No | 회전 각도 (도) | |
| fill | No | 채우기 색상 | |
| stroke | No | 선 색상 | |
| strokeWidth | No | 선 두께 | |
| opacity | No | 불투명도 | |
| id | No | 요소 ID |