颜色空间转换 返回结构是一个序列化的JSON字符串,包含以下字段: Blue: 转换后的蓝色通道值 Green: 转换后的绿色通道值 Red: 转换后的红色通道值
AI agents use image_convert_convert_color to create or update resources in Leaper Vision Toolkit — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Leaper Vision Toolkit environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
v0 | integer | — | 蓝色/H通道值,范围0-255 |
v1 | integer | — | 绿色/S通道值,范围0-255 |
v2 | integer | — | 红色/V通道值,范围0-255 |
toColorSpace | string | — | 目标颜色空间,例如:LPVColorSpaceBGR(BGR颜色空间,通道顺序为B、G、R)、LPVColorSpaceHSV(HSV颜色空间,通道顺序为H、S、V)、LPVColorSpaceHLS(HLS颜色空间,通道顺序为H、L、S)、LPVColorSpaceYCrCb(YCrCb颜色空间,通道顺序为Y、Cr、 |
fromColorSpace | string | — | 源颜色空间,例如:LPVColorSpaceBGR(BGR颜色空间,通道顺序为B、G、R)、LPVColorSpaceHSV(HSV颜色空间,通道顺序为H、S、V)、LPVColorSpaceHLS(HLS颜色空间,通道顺序为H、L、S)、LPVColorSpaceYCrCb(YCrCb颜色空间,通道顺序为Y、Cr、C |
Parameters from the server's own tool schema.
This tool converts color spaces and transforms pixel values, which constitutes modification of image data. However, the transformation is reversible (color space conversions can be undone), and the operation has no side effects beyond the image itself—no deletion, no code execution, no financial impact. This classifies as Write rather than Execute or Destructive.
From the tool's definition Tool name 'image_convert_convert_color' and description indicate color space conversion that modifies image data (converts RGB channel values). The output shows transformed Blue, Green, and Red channel values, indicating data transformation.
Attacks that exploit this kind of access
颜色空间转换 返回结构是一个序列化的JSON字符串,包含以下字段: Blue: 转换后的蓝色通道值 Green: 转换后的绿色通道值 Red: 转换后的红色通道值. It is categorised as a Write tool in the Leaper Vision Toolkit MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
image_convert_convert_color accepts 5 parameters: v0, v1, v2, toColorSpace, fromColorSpace. The full parameter table on this page comes from the server's own tool schema.
Register the Leaper Vision Toolkit MCP server in PolicyLayer and add a rule for image_convert_convert_color: 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 Leaper Vision Toolkit. Nothing to install.
image_convert_convert_color 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 image_convert_convert_color 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 image_convert_convert_color. 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.
image_convert_convert_color is provided by the Leaper Vision Toolkit MCP server (leaper-mcp/leaper-mcp-proxy). 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 →