image_convert_bgr_mix

Mix the 3 channels in the input BGR color image using the specified weight for individual channel 根据指定的各通道权重,混合 BGR 彩色图像的三个通道 - Mix the 3 channels in the input BGR color image using the specified weight for individual channel - Formula: Gray = w0⋅B + w1⋅G + w2⋅R - Weight values should be in range...

Server Leaper Vision Toolkit leaper-mcp/leaper-mcp-proxy
Category Write
Risk class Medium
Parameters 40 required

What image_convert_bgr_mix does on Leaper Vision Toolkit

AI agents use image_convert_bgr_mix 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.

ParameterTypeRequiredDescription
w0 number 蓝色通道的权重,取值范围为 -255 ~ 255
w1 number 绿色通道的权重,取值范围为 -255 ~ 255
w2 number 红色通道的权重,取值范围为 -255 ~ 255
imageUrl string 图片的url地址,通过这个地址获取到输入图像

Parameters from the server's own tool schema.

Why image_convert_bgr_mix needs a policy

This tool transforms image data by mixing color channels according to specified weights and produces a new grayscale output image. This is a reversible modification operation (Write category) rather than Read (which would only retrieve/query without modification).

From the tool's definition Tool performs image transformation and channel mixing operations, outputting a modified grayscale image. Description states 'Mix the 3 channels in the input BGR color image' and 'The output image will be a grayscale image', indicating the tool creates or…

Questions about image_convert_bgr_mix

What does the image_convert_bgr_mix tool do? +

Mix the 3 channels in the input BGR color image using the specified weight for individual channel 根据指定的各通道权重,混合 BGR 彩色图像的三个通道 - Mix the 3 channels in the input BGR color image using the specified weight for individual channel - Formula: Gray = w0⋅B + w1⋅G + w2⋅R - Weight values should be in range -255 ~ 255 - The output image will be a grayscale image of the same size as the input - 根据指定的各通道权重,混合 BGR 彩色图像的三个通道 - 公式:Gray = w0⋅B + w1⋅G + w2⋅R - 权重值取值范围在 -255 ~ 255 - 输出图像将是灰度图像,尺寸与输入的彩色图像一致 返回结构是一个序列化的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.

What parameters does image_convert_bgr_mix accept? +

image_convert_bgr_mix accepts 4 parameters: w0, w1, w2, imageUrl. 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_mix? +

Register the Leaper Vision Toolkit MCP server in PolicyLayer and add a rule for image_convert_bgr_mix: 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_mix? +

image_convert_bgr_mix is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit image_convert_bgr_mix? +

Yes. Add a rate_limit block to the image_convert_bgr_mix 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_mix completely? +

Set action: deny in the PolicyLayer policy for image_convert_bgr_mix. 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_mix? +

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