pixelart_draw_polygon
Draw a polygon (outline or filled) from a list of vertex points. Use for shapes like roof slopes, tree silhouettes, or diagonal terrain edges that draw_rect or draw_circle cannot express.
Instructions
Draw a polygon (outline or filled) from a list of vertex points.
Use this for shapes that draw_rect/draw_circle can't express (roof slopes, tree silhouettes, diagonal terrain edges, etc).
Args: params: canvas_id, points (>=3 [x,y] pairs), color, fill. Returns: Confirmation string.
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": {
"params": "<params>"
},
"name": "pixelart_draw_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |