~english Bottom-hat operation tool. Erase small elements and details from given images. Bottom-hat operation is the equivalent of subtracting the input image from the result of performing a morphological closing operation on the input image. When the user does not specify morphological parameter...
Part of the Leaper Vision Toolkit MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
AI agents may call il_image_morph_bottom_hat to permanently remove or destroy resources in Leaper Vision Toolkit. Without a policy, an autonomous agent could delete critical data in a loop with no way to undo the damage. Intercept blocks destructive tools by default and requires explicit human approval before enabling them.
Without a policy, an AI agent could call il_image_morph_bottom_hat in a loop, permanently destroying resources in Leaper Vision Toolkit. There is no undo for destructive operations. Intercept blocks this tool by default and only allows it when a human explicitly approves the action.
Destructive tools permanently remove data. Block by default. Only enable with explicit approval workflows.
tools:
il_image_morph_bottom_hat:
rules:
- action: deny
reason: "Blocked by default — enable with approval" See the full Leaper Vision Toolkit policy for all 169 tools.
~english Bottom-hat operation tool. Erase small elements and details from given images. Bottom-hat operation is the equivalent of subtracting the input image from the result of performing a morphological closing operation on the input image. When the user does not specify morphological parameters, do not call the parameter setting plugin, as the ILImageMorph class file already has default morphological parameters set. The return structure is a serialized JSON string where: ResultImg property is the URL address of the output result image. @math_eq_full{I' = close( I, element ) - I} @math_image_center{bottomhat.png} ~chinese 低帽工具。用于去除图像中的较小单元和细节。该工具等价于从闭操作的结果中减去原输入图像。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默认参数。 返回结构是一个序列化的JSON字符串,其中: ResultImg属性是输出结果图像URL地址。. It is categorised as a Destructive tool in the Leaper Vision Toolkit MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Add a rule in your Intercept YAML policy under the tools section for il_image_morph_bottom_hat. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the Leaper Vision Toolkit MCP server.
il_image_morph_bottom_hat is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the il_image_morph_bottom_hat rule in your Intercept 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.
Set action: deny in the Intercept policy for il_image_morph_bottom_hat. 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.
il_image_morph_bottom_hat is provided by the Leaper Vision Toolkit MCP server (leaper-mcp/leaper-mcp-proxy). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept