draw_polyline
Draws connected lines between multiple coordinate points on an SVG canvas, allowing customization of stroke color, width, and opacity for creating polyline shapes.
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": {
"points": "<points>"
},
"name": "draw_polyline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | 점 좌표 배열 [{x, y}, ...] | |
| stroke | No | 선 색상 | #000000 |
| strokeWidth | No | 선 두께 | |
| fill | No | 채우기 (보통 none) | none |
| opacity | No | 불투명도 | |
| id | No | 요소 ID | |
| class | No | CSS 클래스명 |