color_mode

Convert the sprite's color mode: rgba, grayscale, or indexed (every pixel snapped to the palette; dither 2/4/8 uses an ordered Bayer dither instead of nearest color). conform_only=true re-snaps all pixels to the current mode without converting (after editing the palette, say).

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

This record as markdown: /tools/pixmith-mcp/color-mode.md

What color_mode does on Pixmith

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

ParameterTypeRequiredDescription
doc string — Document id (see doc_list); optional when only one document is open.
mode string — Target mode (required unless conform_only).
dither integer — indexed: 0 nearest color (default), or Bayer matrix size 2, 4, 8.
conform_only boolean — Only re-snap all pixels to the current mode.

Parameters from the server's own tool schema.

Why color_mode is rated Low

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

Risk signalsBulk/mass operation — affects multiple targets

Questions about color_mode

What does the color_mode tool do? +

Convert the sprite's color mode: rgba, grayscale, or indexed (every pixel snapped to the palette; dither 2/4/8 uses an ordered Bayer dither instead of nearest color). conform_only=true re-snaps all pixels to the current mode without converting (after editing the palette, say). It is categorised as a Other tool in the Pixmith MCP Server, which means it performs auxiliary operations.

What parameters does color_mode accept? +

color_mode accepts 4 parameters: doc, mode, dither, conform_only. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on color_mode? +

Register the Pixmith MCP server in PolicyLayer and add a rule for color_mode: 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 color_mode? +

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

Can I rate-limit color_mode? +

Yes. Add a rate_limit block to the color_mode 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 color_mode completely? +

Set action: deny in the PolicyLayer policy for color_mode. 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 color_mode? +

color_mode 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.

// 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.