il_mask_region

Create a mask region object. 创建一个蒙版ROI区域对象。 Mask region is defined by a binary image mask, where white pixels represent the region area. 蒙版区域由二值图像蒙版定义,其中白色像素表示区域范围。 The mask image determines the shape and extent of the region. 蒙版图像决定区域的形状和范围。 并返回生成后的ILMaskRegion类型的描述JSON。 其中ILMaskRegion类型继承于ILReg...

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

What il_mask_region does on Leaper Vision Toolkit

AI agents use il_mask_region 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
tlx number 蒙版区域的左上角点 x 坐标 (double类型)
tly number 蒙版区域的左上角点 y 坐标 (double类型)
maskImageUrl string 图片的url地址,通过这个地址获取到输入蒙版图像

Parameters from the server's own tool schema.

Why il_mask_region needs a policy

This tool creates a new mask region object based on a binary image mask input. It is a reversible Write operation—it generates a new data structure without deleting or executing arbitrary code. The mask region is a computational artifact for image processing, not an irreversible deletion or code execution.

From the tool's definition Tool name 'il_mask_region' with description stating 'Create a mask region object.' The verb 'Create' indicates data generation/creation. Returns 'ILMaskRegion type description JSON' which represents creating a new data structure.

Questions about il_mask_region

What does the il_mask_region tool do? +

Create a mask region object. 创建一个蒙版ROI区域对象。 Mask region is defined by a binary image mask, where white pixels represent the region area. 蒙版区域由二值图像蒙版定义,其中白色像素表示区域范围。 The mask image determines the shape and extent of the region. 蒙版图像决定区域的形状和范围。 并返回生成后的ILMaskRegion类型的描述JSON。 其中ILMaskRegion类型继承于ILRegion类型. 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_mask_region accept? +

il_mask_region accepts 3 parameters: tlx, tly, maskImageUrl. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on il_mask_region? +

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

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

Can I rate-limit il_mask_region? +

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

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

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