Display the line detection results. 这个是针对直线定位的图像的交互工具,并返回检测和定位直线后的图片。 This interface provide functionalities of the display control. 该接口提供显示控件功能。 Usually you add the display control via the Toolbox in Visual Studio. 通常可通过 Visual Studio 的工具箱,将显示控件加入到应用程序窗口中。 This interface helps you to manage the ...
AI agents call display_line_detector to retrieve information from Leaper Vision Toolkit without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
imageUrl | string | — | 图片的url地址,通过这个地址获取到图片 |
drawFlags | string | — | 该可绘制对象的绘制参数,传入类型为 LPVLineDrawFlags 类型。有效的类型为:LPVLineDrawLine = 1(绘制直线。)、LPVLineDrawMidPoint = 2(绘制直线的中点。)、LPVLineDrawEndPoints = 4(绘制的端点。)、LPVLineDrawIndex = 8( |
regionJson | string | — | 指定的Roi区域。如果用户没有指定区域,请直接传入 "null"。 如果用户指定区域,传入一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。这两个属性的值可以从前处理的MCP工具的返回值中获取。LpvCl |
InputParameterFile | string | — | 指定的 ILLineDetector 类的文件地址,调用工具函数需要传入的参数文件名称。在调用此工具前要保证前处理中一定要有且仅有一次的 ILLineDetector 初始化工具调用。这个属性的值需要从前处理的MCP工具的返回值 InputParameterFile 字段中获取。 |
Parameters from the server's own tool schema.
This tool displays/renders line detection results and returns a URL to the processed image. It performs image processing and visualization (reading/displaying data) without creating, modifying, or deleting persistent data. The output is a result image URL, making this a read/query operation.
From the tool's definition Display the line detection results... 返回结构是一个序列化的json,其中:ResultImg属性是检测和定位直线后的图片URL地址
Attacks that exploit this kind of access
Display the line detection results. 这个是针对直线定位的图像的交互工具,并返回检测和定位直线后的图片。 This interface provide functionalities of the display control. 该接口提供显示控件功能。 Usually you add the display control via the Toolbox in Visual Studio. 通常可通过 Visual Studio 的工具箱,将显示控件加入到应用程序窗口中。 This interface helps you to manage the scene in the display control, for the image, regions, geometric primitives and algorithms' results to shown in the control. 该接口提供管理显示窗口内场景的功能,用于设置场景中的图像,增加删除场景中的 region、几何形状和算法结果等。 返回结构是一个序列化的json,其中: ResultImg属性是检测和定位直线后的图片URL地址. It is categorised as a Read tool in the Leaper Vision Toolkit MCP Server, which means it retrieves data without modifying state.
display_line_detector accepts 4 parameters: imageUrl, drawFlags, regionJson, InputParameterFile. The full parameter table on this page comes from the server's own tool schema.
Register the Leaper Vision Toolkit MCP server in PolicyLayer and add a rule for display_line_detector: 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.
display_line_detector is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the display_line_detector 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.
Set action: deny in the PolicyLayer policy for display_line_detector. 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.
display_line_detector 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.
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 →