mcp-painter

by flrngel
Verified

drawing_fillRectangle

Fill a rectangle on the drawing canvas with a specified color and coordinates.

Input Schema

NameRequiredDescriptionDefault
colorYesColor to fill the rectangle with (RGB)
heightYesHeight of the rectangle
widthYesWidth of the rectangle
xYesX coordinate of the top-left corner of the rectangle
yYesY coordinate of the top-left corner of the rectangle

Input Schema (JSON Schema)

{ "properties": { "color": { "description": "Color to fill the rectangle with (RGB)", "properties": { "a": { "description": "Alpha component (0-255, optional, default 255)", "type": "number" }, "b": { "description": "Blue component (0-255)", "type": "number" }, "g": { "description": "Green component (0-255)", "type": "number" }, "r": { "description": "Red component (0-255)", "type": "number" } }, "required": [ "r", "g", "b" ], "type": "object" }, "height": { "description": "Height of the rectangle", "type": "number" }, "width": { "description": "Width of the rectangle", "type": "number" }, "x": { "description": "X coordinate of the top-left corner of the rectangle", "type": "number" }, "y": { "description": "Y coordinate of the top-left corner of the rectangle", "type": "number" } }, "required": [ "x", "y", "width", "height", "color" ], "type": "object" }