将 BGR 颜色值转换为灰度值 返回结构是一个序列化的JSON字符串,包含以下字段: GrayValue: 转换后的灰度值
AI agents invoke image_convert_bgr_to_gray_color to trigger actions in Leaper Vision Toolkit. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
red | integer | — | 红色通道值,范围0-255 |
blue | integer | — | 蓝色通道值,范围0-255 |
green | integer | — | 绿色通道值,范围0-255 |
Parameters from the server's own tool schema.
This tool performs a color space conversion computation (BGR to grayscale), which is an in-memory image processing operation. It executes a transformation algorithm on input data rather than simply reading stored data or writing/deleting persistent data. Blast radius is low as it only processes color values and returns a computed result with no side effects on external systems.
From the tool's definition 将 BGR 颜色值转换为灰度值 (Converts BGR color values to grayscale values); returns a serialized JSON string with GrayValue field
Attacks that exploit this kind of access
将 BGR 颜色值转换为灰度值 返回结构是一个序列化的JSON字符串,包含以下字段: GrayValue: 转换后的灰度值. It is categorised as a Execute tool in the Leaper Vision Toolkit MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
image_convert_bgr_to_gray_color accepts 3 parameters: red, blue, green. 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_bgr_to_gray_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_bgr_to_gray_color is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the image_convert_bgr_to_gray_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_bgr_to_gray_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_bgr_to_gray_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 →