Convert a grayscale image to a BGR color image 将灰度图转换为 BGR 彩色图像 - Convert a grayscale image to a BGR color image, all three channels are assigned to the same value - The output image will be a BGR color image of the same size as the input - Formula: B = Gray, G = Gray, R = Gray - 将灰度图转换为 BGR 彩色图像...
AI agents use image_convert_gray_to_bgr 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 |
|---|---|---|---|
imageUrl | string | — | 图片的url地址,通过这个地址获取到输入图像 |
Parameters from the server's own tool schema.
Image format conversion is a data modification operation that creates new image output. It is Write-category because it produces transformed data that can be reversed (re-converting back to grayscale). It has low severity as misuse only produces incorrect image formats with no side effects on system state, data deletion, or external operations.
From the tool's definition Tool converts and transforms image data: 'Convert a grayscale image to a BGR color image' with output 'will be a BGR color image' and returns 'ResultImg: 输出结果图像URL地址' (output image URL). This modifies/creates new image data through a reversible transformation.
Attacks that exploit this kind of access
Convert a grayscale image to a BGR color image 将灰度图转换为 BGR 彩色图像 - Convert a grayscale image to a BGR color image, all three channels are assigned to the same value - The output image will be a BGR color image of the same size as the input - Formula: B = Gray, G = Gray, R = Gray - 将灰度图转换为 BGR 彩色图像,所有三个通道都被赋予相同的值 - 输出图像将是 BGR 彩色图像,尺寸与输入的彩色图像一致 - 公式:B = Gray, G = Gray, R = Gray 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 输出结果图像URL地址. 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_gray_to_bgr accepts 1 parameter: imageUrl. 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_gray_to_bgr: 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_gray_to_bgr 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_gray_to_bgr 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_gray_to_bgr. 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_gray_to_bgr 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 →