il_histogram_build_min_max

Build histogram from input image and region, find minimum and maximum values. Find the bin of minimum or maximum value, report the value and bin index. If there's more than one bin with the same value, report the first one. 基于输入图像和区域,生成直方图,查找直方图上的最大和最小值及其对应的索引。 工具不需要通过其它工具设置参数,不需要传入ILHistogram的对象...

Server Leaper Vision Toolkit leaper-mcp/leaper-mcp-proxy
Category Read
Risk class Low
Parameters 50 required

What il_histogram_build_min_max does on Leaper Vision Toolkit

AI agents call il_histogram_build_min_max to retrieve information from Leaper Vision Toolkit without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
binCount integer 将直方图分为若干个统计区域,传入类型为int类型。推荐设置为总数据范围的因子,比如对一个灰度图,常用设置为 256 ,128,32 等。
imageUrl string 图片的url地址,通过这个地址获取到图片
lowerBound integer 统计数据范围的下限,传入类型为int类型。比如对一个 8 位灰度图,常用设置为 0。
regionJson string 指定的Roi区域。如果用户没有指定区域,请直接传入 "null"。 如果用户指定区域,传入一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。这两个属性的值可以从前处理的MCP工具的返回值中获取。LpvCl
upperBound integer 统计数据范围的上限,传入类型为int类型。比如对一个 8 位灰度图,常用设置为 255。

Parameters from the server's own tool schema.

Why il_histogram_build_min_max needs a policy

This tool purely reads and analyzes image data to compute histogram statistics (min/max values and their indices). It has no side effects, does not modify any data, and only returns computed analytical results.

From the tool's definition Build histogram from input image and region, find minimum and maximum values... Returns a serialized JSON with MinIdx, MinValue, MaxIdx, and MaxValue properties.

Questions about il_histogram_build_min_max

What does the il_histogram_build_min_max tool do? +

Build histogram from input image and region, find minimum and maximum values. Find the bin of minimum or maximum value, report the value and bin index. If there's more than one bin with the same value, report the first one. 基于输入图像和区域,生成直方图,查找直方图上的最大和最小值及其对应的索引。 工具不需要通过其它工具设置参数,不需要传入ILHistogram的对象。 Returns a serialized JSON with MinIdx, MinValue, MaxIdx, and MaxValue properties. It is categorised as a Read tool in the Leaper Vision Toolkit MCP Server, which means it retrieves data without modifying state.

What parameters does il_histogram_build_min_max accept? +

il_histogram_build_min_max accepts 5 parameters: binCount, imageUrl, lowerBound, regionJson, upperBound. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on il_histogram_build_min_max? +

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

il_histogram_build_min_max is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit il_histogram_build_min_max? +

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

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

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