display_match

Display the pattern matching 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 s...

Server Leaper Vision Toolkit leaper-mcp/leaper-mcp-proxy
Category Execute
Risk class High
Parameters 30 required

What display_match does on Leaper Vision Toolkit

AI agents invoke display_match to trigger actions in Leaper Vision Toolkit. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

ParameterTypeRequiredDescription
imageUrl string 图片的url地址,通过这个地址获取到输入的图像
matchClassObjDescriptionJson string 模板匹配的功能对象壳用于训练模板匹配的功能。如果用户没有指定模板匹配的功能对象,请直接传入 "null" 。 如果用户指定模板匹配的功能对象,传入一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。这两个
regionClassObjDescriptionJson string 用于限定模板匹配的Roi区域。如果用户没有指定区域,请提醒用户描述限定模板匹配的Roi区域。 限定模板匹配的Roi区域为一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。这两个属性的值可以从前处理的MCP

Parameters from the server's own tool schema.

Why display_match needs a policy

The tool actively executes a pattern matching algorithm on an image and returns processed results (a marked image URL), not merely retrieving stored data. It triggers an image processing operation with side effects (rendering/computing results), placing it in the Execute category. Severity is medium as misuse is limited to processing images without financial or destructive consequences.

From the tool's definition 'Display the pattern matching results' and '执行模板匹配的图像的交互工具' (interactive tool for executing template matching on images) and 'returns marked blob image URL'

Questions about display_match

What does the display_match tool do? +

Display the pattern matching 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 Execute tool in the Leaper Vision Toolkit MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does display_match accept? +

display_match accepts 3 parameters: imageUrl, matchClassObjDescriptionJson, regionClassObjDescriptionJson. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on display_match? +

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

display_match is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit display_match? +

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

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

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