rectangle
rectangleCreate a shape with specified width, height, optional fill color, position, and corner radius.
Instructions
Create a rectangle with optional fill color/position/cornerRadius.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| hex | No | ||
| x | No | ||
| y | No | ||
| cornerRadius | No |