draw_line
Draw straight lines on an SVG canvas by specifying start and end coordinates, with options to customize color, thickness, and opacity for professional graphics creation.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "draw_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | 시작점 X 좌표 | |
| y1 | Yes | 시작점 Y 좌표 | |
| x2 | Yes | 끝점 X 좌표 | |
| y2 | Yes | 끝점 Y 좌표 | |
| stroke | No | 선 색상 | #000000 |
| strokeWidth | No | 선 두께 | |
| opacity | No | 불투명도 | |
| id | No | 요소 ID | |
| class | No | CSS 클래스명 |