Generate visual color palette image from local image file. Creates a PNG image showing all extracted colors with HEX codes. All paths are relative to the project root.
AI agents use generate_color_palette_image to create or update resources in TSCodex MCP Images — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your TSCodex MCP Images environment.
This tool creates a new visual artifact (a PNG file) from an existing local image by extracting colors and formatting them visually. It is a write operation because it produces new data, but it is non-destructive and reversible—the output can be deleted or regenerated.
From the tool's definition Tool generates a new PNG image file (creates/writes output), as indicated by 'Generate visual color palette image' and 'Creates a PNG image'. This is a file creation operation with no destructive or irreversible side effects.
Risk signalsAdmin/system-level operation
Attacks that exploit this kind of access
Generate visual color palette image from local image file. Creates a PNG image showing all extracted colors with HEX codes. All paths are relative to the project root. It is categorised as a Write tool in the TSCodex MCP Images MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the TSCodex MCP Images MCP server in PolicyLayer and add a rule for generate_color_palette_image: 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 TSCodex MCP Images. Nothing to install.
generate_color_palette_image is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_color_palette_image 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.
Set action: deny in the PolicyLayer policy for generate_color_palette_image. 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.
generate_color_palette_image is provided by the TSCodex MCP Images MCP server (unbywyd/tscodex-mcp-images). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →