il_image_threshold_binarize

Binarize the input image and return the result new image. If the lower bound of threshold value is smaller than the upper bound, pixels within the lower and upper bound of threshold value is set to the object level (maximum value), otherwise, the output pixel is set to the background level (0). I...

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

What il_image_threshold_binarize does on Leaper Vision Toolkit

AI agents invoke il_image_threshold_binarize 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
imageUrl string 图片的url地址,通过这个地址获取到图片
InputParameterFile string 指定的 ILImageThreshold 类的文件地址,调用工具函数需要传入的参数文件名称。在调用此工具前要保证前处理中一定要有且仅有一次的 ILImageThreshold 初始化工具调用。这个属性的值需要从前处理的MCP工具的返回值 InputParameterFile 字段中获取。

Parameters from the server's own tool schema.

Why il_image_threshold_binarize needs a policy

This tool processes an image by applying a binarization transformation — it runs a non-trivial image processing operation that produces a new output image. It spans Read (input) and Write (output creation), but the dominant action is executing an image transformation pipeline. Severity is medium because misuse could produce incorrect image outputs but has limited broader blast radius.

From the tool's definition Binarize the input image and return the result new image... execute the set threshold tool first, then execute this tool

Questions about il_image_threshold_binarize

What does the il_image_threshold_binarize tool do? +

Binarize the input image and return the result new image. If the lower bound of threshold value is smaller than the upper bound, pixels within the lower and upper bound of threshold value is set to the object level (maximum value), otherwise, the output pixel is set to the background level (0). If the user has set threshold values, execute the set threshold tool first, then execute this tool. Returns a serialized JSON structure containing: LpvClassName indicating the function name; InputParameterFile representing the parameter file name; result property representing the URL address of the binarized image;这个是二值化图像工具。二值化输入图像并输出结果图像。若所设置的阈值范围的下限小于上限,输入图像中灰度值在阈值范围内的像素,在结果图中将被设置为前景(最大数值),反之,则被设置为背景(0)。如果用户同时设置了阈值,要先执行设置阈值工具,然后再执行此工具。返回结构是一个序列化的json,其中LpvClassName 表示调用工具函数的名称;InputParameterFile 表示调用工具函数需要传入的参数文件名称;result 属性是输入图像二值化结果的图片地址. 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 il_image_threshold_binarize accept? +

il_image_threshold_binarize accepts 2 parameters: imageUrl, InputParameterFile. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on il_image_threshold_binarize? +

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

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

Can I rate-limit il_image_threshold_binarize? +

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

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

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