il_image_threshold_set_threshold_adapt_local

Use local-adaptive threshold value. This is a legacy function and deprecated since 2.18.0, SetThresholdAdaptLocalMean() has the same functionality as it. It's recommended to use SetThresholdAdaptLocalMean() or SetThresholdAdaptLocalMedian() instead. Returns a serialized JSON structure containing:...

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

What il_image_threshold_set_threshold_adapt_local does on Leaper Vision Toolkit

AI agents use il_image_threshold_set_threshold_adapt_local 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
lbBias integer 基于局部自适应阈值的下限修正值
ubBias integer 基于局部自适应阈值的上限修正值
blockWidth integer 局部区域的宽度,需要是一个奇数
blockHeight integer 局部区域的高度,需要是一个奇数
InputParameterFile string 指定的 ILImageThreshold 类的文件地址,调用工具函数需要传入的参数文件名称。在调用此工具前要保证前处理中一定要有且仅有一次的 ILImageThreshold 初始化工具调用。这个属性的值需要从前处理的MCP工具的返回值 InputParameterFile 字段中获取。

Parameters from the server's own tool schema.

Why il_image_threshold_set_threshold_adapt_local needs a policy

This tool configures/sets a processing parameter (local adaptive threshold) on an image filter or processing pipeline object. It modifies configuration state (Write) rather than simply reading data, but does not execute code, delete data, or involve finances. The blast radius is low as it only affects image processing configuration within the toolkit.

From the tool's definition 'Use local-adaptive threshold value' and 'SetThresholdAdaptLocalMean() has the same functionality' — sets/configures a threshold parameter on an image processing object

Questions about il_image_threshold_set_threshold_adapt_local

What does the il_image_threshold_set_threshold_adapt_local tool do? +

Use local-adaptive threshold value. This is a legacy function and deprecated since 2.18.0, SetThresholdAdaptLocalMean() has the same functionality as it. It's recommended to use SetThresholdAdaptLocalMean() or SetThresholdAdaptLocalMedian() instead. Returns a serialized JSON structure containing: LpvClassName indicating the function name; InputParameterFile representing the parameter file name;这个是 设置并使用局部自适应阈值 工具。这是一个已废弃的旧接口(从 2.18.0 版本开始),SetThresholdAdaptLocalMean() 的用途与其相同。推荐使用新的 SetThresholdAdaptLocalMean() 或 SetThresholdAdaptLocalMedian() 方法。返回结构是一个序列化的json,其中LpvClassName 表示调用工具函数的名称;InputParameterFile 表示调用工具函数需要传入的参数文件名称;. 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 il_image_threshold_set_threshold_adapt_local accept? +

il_image_threshold_set_threshold_adapt_local accepts 5 parameters: lbBias, ubBias, blockWidth, blockHeight, 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_set_threshold_adapt_local? +

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

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

Can I rate-limit il_image_threshold_set_threshold_adapt_local? +

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

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

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