Skip to main content
Glama

mcp-painter

by flrngel

drawing_fillRectangle

Fill a rectangle on the drawing canvas by specifying coordinates, dimensions, and color (RGB). Use this tool to create or modify visual elements with precision on the mcp-painter server.

Instructions

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" }
Install Server

Other Tools from mcp-painter

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/flrngel/mcp-painter'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server