il_line_detector_set_polarity

设置直线定位工具所使用的检测的边缘极性,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的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_polarity does on Leaper Vision Toolkit

AI agents use il_line_detector_set_polarity 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
polarity string 检测的边缘极性,传入类型为 LPVPolarity 类型。极性指的是边缘相对于区域的扫描方向(旋转矩形的角度方向)的变换方式,由白(亮)像素向黑(暗)像素转变,或由黑(暗)像素向白(亮)像素转变。有效的类型为:LPVBlack2White(沿着区域的扫描方向看,边处于从黑(暗)到白(亮)的边缘。)、LPVWhite2B
InputParameterFile string 指定的 ILLineDetector 类的文件地址,调用工具函数需要传入的参数文件名称。在调用此工具前要保证前处理中一定要有且仅有一次的 ILLineDetector 初始化工具调用。这个属性的值需要从前处理的MCP工具的返回值 InputParameterFile 字段中获取。

Parameters from the server's own tool schema.

Why il_line_detector_set_polarity needs a policy

This tool modifies configuration state (edge polarity settings) of a line detector object and returns the updated configuration. It is a reversible configuration change (Write category) rather than destructive deletion or irreversible data loss.

From the tool's definition Tool name contains 'set_polarity' and description states it 'sets' (设置) the edge polarity detection parameters and 'returns' a configured line detector object with serialized JSON containing class name and parameter file name.

Questions about il_line_detector_set_polarity

What does the il_line_detector_set_polarity 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_polarity accept? +

il_line_detector_set_polarity accepts 2 parameters: polarity, 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_polarity? +

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

il_line_detector_set_polarity 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_polarity? +

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

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

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