draw_rect
Draw a rectangle on an ASCII/braille canvas by specifying position, width, and height; enable filled mode to create a solid block or leave it off for an outlined border.
Instructions
Draw a rectangle. Set filled=true to fill it, otherwise only the border is drawn.
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "draw_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| char | No | # | |
| width | Yes | ||
| filled | No | ||
| height | Yes |