il_line_detector_set_edge_width

设置直线定位工具所使用的直线边缘的宽度,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。这两个属性的值可以从前处理的MCP工具的返回值中获取。LpvClassName 表示直线定位工具的功能调用的对象名称,目前名称应为:ILLineDetector (直线定位工具的功能相关对象); InputParameterFile 表示直线定位工具的功能调用的对象的参数文件名称。

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

What il_line_detector_set_edge_width does on Leaper Vision Toolkit

AI agents use il_line_detector_set_edge_width 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
edgeWidth integer 直线边缘的宽度,传入类型为 int 类型。取值范围为 1 ~ 10。该宽度为整个边缘过度的像素个数。模糊的边缘需要设置更大的边缘宽度以找到一个稳定的结果。通常大多数情况下,可以直接使用预设值(3)。
InputParameterFile string 指定的 ILLineDetector 类的文件地址,调用工具函数需要传入的参数文件名称。在调用此工具前要保证前处理中一定要有且仅有一次的 ILLineDetector 初始化工具调用。这个属性的值需要从前处理的MCP工具的返回值 InputParameterFile 字段中获取。

Parameters from the server's own tool schema.

Why il_line_detector_set_edge_width needs a policy

The tool modifies configuration parameters for an image processing detector, which constitutes a reversible Write operation. It does not execute arbitrary operations, delete data, move funds, or perform destructive actions. The changes are configuration-only and can be undone by setting different parameters.

From the tool's definition Tool name 'il_line_detector_set_edge_width' and description indicate it 'sets' (设置) the edge width parameter for a line detection tool and returns a configured tool object with updated properties (LpvClassName and InputParameterFile).

Questions about il_line_detector_set_edge_width

What does the il_line_detector_set_edge_width tool do? +

设置直线定位工具所使用的直线边缘的宽度,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。这两个属性的值可以从前处理的MCP工具的返回值中获取。LpvClassName 表示直线定位工具的功能调用的对象名称,目前名称应为:ILLineDetector (直线定位工具的功能相关对象); 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_line_detector_set_edge_width accept? +

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

How do I enforce a policy on il_line_detector_set_edge_width? +

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

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

Can I rate-limit il_line_detector_set_edge_width? +

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

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

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