image_convert_bgr_to_gray_color

将 BGR 颜色值转换为灰度值 返回结构是一个序列化的JSON字符串,包含以下字段: GrayValue: 转换后的灰度值

Server Leaper Vision Toolkit leaper-mcp/leaper-mcp-proxy
Category Execute
Risk class High
Parameters 30 required

What image_convert_bgr_to_gray_color does on Leaper Vision Toolkit

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.

ParameterTypeRequiredDescription
red integer 红色通道值,范围0-255
blue integer 蓝色通道值,范围0-255
green integer 绿色通道值,范围0-255

Parameters from the server's own tool schema.

Why image_convert_bgr_to_gray_color needs a policy

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

Questions about image_convert_bgr_to_gray_color

What does the image_convert_bgr_to_gray_color tool do? +

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

What parameters does image_convert_bgr_to_gray_color accept? +

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.

How do I enforce a policy on image_convert_bgr_to_gray_color? +

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.

What risk level is image_convert_bgr_to_gray_color? +

image_convert_bgr_to_gray_color is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit image_convert_bgr_to_gray_color? +

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.

How do I block image_convert_bgr_to_gray_color completely? +

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.

What MCP server provides image_convert_bgr_to_gray_color? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.