draw_pixels

Pencil for exact pixels: paint individual pixels (batch, up to 65536); painting color "transparent" is the Eraser. Either give pixels as [{x, y, color}] or points as [[x, y], ...] with one color. Uses the brush and ink options (default: 1 px square brush, simple ink = replace the pixel; a transpa...

SERVERPixmith SOURCEpixmith-mcp
Low RISK CLASS
Category Other
Parameters 120 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/pixmith-mcp/draw-pixels.md

What draw_pixels does on Pixmith

AI agents call draw_pixels as a supporting operation in Pixmith workflows.

ParameterTypeRequiredDescription
doc string — Document id (see doc_list); optional when only one document is open.
ink string — simple (default; replaces pixels, transparent erases), alpha (blend over), lock_alpha (recolor only opaque pixels), behind (paint under existing pixels), shadin
color string — Color for `points`.
frame integer — Frame (default: the active frame).
layer object — Layer index or name (default: the active layer). Must not be a group.
mirror string — Symmetry: also draw mirrored (horizontal = left/right, vertical = top/bottom) across the canvas center, or across `mirror_axis_x` / `mirror_axis_y`.
pixels array — Pixels with individual colors.
points array — Pixel positions [[x, y], ...] painted with `color`.
brush_size integer — Brush size in pixels, 1-64 (default 1).
brush_shape string — square (default) or circle (round brush for sizes above 1).
shading_ramp array — Colors the shading ink steps through (default: the palette).
mirror_axis_x number — Where the left/right mirror line is, in pixels from the left edge (default: the canvas center). 16 is the line between columns 15 and 16 (column 15 mirrors to 1

Parameters from the server's own tool schema.

Why draw_pixels is rated Low

Without any rule in front of it, every call an agent makes to draw_pixels happens silently: no trail, no cap, no way to know it misbehaved until something breaks downstream.

Risk signalsHigh parameter count (17 properties)

Questions about draw_pixels

What does the draw_pixels tool do? +

Pencil for exact pixels: paint individual pixels (batch, up to 65536); painting color "transparent" is the Eraser. Either give pixels as [{x, y, color}] or points as [[x, y], ...] with one color. Uses the brush and ink options (default: 1 px square brush, simple ink = replace the pixel; a transparent color erases). It is categorised as a Other tool in the Pixmith MCP Server, which means it performs auxiliary operations.

What parameters does draw_pixels accept? +

draw_pixels accepts 12 parameters: doc, ink, color, frame, layer, mirror, pixels, points, brush_size, brush_shape, shading_ramp, mirror_axis_x. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on draw_pixels? +

Register the Pixmith MCP server in PolicyLayer and add a rule for draw_pixels: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pixmith. Nothing to install.

What risk level is draw_pixels? +

draw_pixels is a Other tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit draw_pixels? +

Yes. Add a rate_limit block to the draw_pixels rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block draw_pixels completely? +

Set action: deny in the PolicyLayer policy for draw_pixels. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides draw_pixels? +

draw_pixels is provided by the Pixmith MCP server (pixmith-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Pixmith, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Pixmith's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.