edge_filter_set_edge_polarity

Set the edge polarity of interest in edge filtering. 设置滤波器的边缘极性,以获得感兴趣极性的边缘。 Sets the edge polarity of the filter to obtain edges of interest, and returns the configured edge filter object. 提供了图像边缘增强的功能,设置滤波器的边缘极性,以获得感兴趣极性的边缘 ,并返回设置完成的图像边缘增强的功能调用的对象。 If other edge enhancement functions depend on ...

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

What edge_filter_set_edge_polarity does on Leaper Vision Toolkit

AI agents use edge_filter_set_edge_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
xPolarityString string 水平方向边缘的极性(以从左到右为方向)。默认设置为任意极性。 存在 LPVBlack2White , LPVWhite2Black , LPVPolarityEitherEdge , LPVBlackOnWhite , LPVWhiteOnBlack , LPVPolarityEitherObject , LPVP
yPolarityString string 垂直方向边缘的极性(以从上到下为方向)。默认设置为任意极性。 存在 LPVBlack2White , LPVWhite2Black , LPVPolarityEitherEdge , LPVBlackOnWhite , LPVWhiteOnBlack , LPVPolarityEitherObject , LPVP
edgeFilterClassObjDescriptionJson string 用于图像边缘增强的功能调用的对象。如果用户没有指定图像边缘增强的功能相关对象,请调用EdgeFilterNew方法创建一个图像边缘增强的功能调用的对象后传入。 如果用户指定图像边缘增强的功能相关对象,传入一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParamet

Parameters from the server's own tool schema.

Why edge_filter_set_edge_polarity needs a policy

This tool creates or modifies filter configuration state in a reversible manner. It adjusts image processing parameters (edge polarity settings) and returns the modified filter object for use by dependent functions. This is a Write operation—it persists configuration changes—but with low severity since the modifications are to image filter parameters only, not permanent data deletion or system-level changes.

From the tool's definition Tool description states it 'Sets the edge polarity of the filter' and 'returns the configured edge filter object'.

Questions about edge_filter_set_edge_polarity

What does the edge_filter_set_edge_polarity tool do? +

Set the edge polarity of interest in edge filtering. 设置滤波器的边缘极性,以获得感兴趣极性的边缘。 Sets the edge polarity of the filter to obtain edges of interest, and returns the configured edge filter object. 提供了图像边缘增强的功能,设置滤波器的边缘极性,以获得感兴趣极性的边缘 ,并返回设置完成的图像边缘增强的功能调用的对象。 If other edge enhancement functions depend on this edge filter object, they can use the current object JSON. 如果别的图像边缘增强的功能要依赖于当前图像边缘增强的功能调用对象来调用,可以使用当前对象Json。 Returns a serialized JSON string with properties: LpvClassName (function name) and InputParameterFile (parameter file name). 返回结构是一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParameterFile(调用工具函数需要传入的参数文件名称)。 LpvClassName should be: ILEdgeFilter (edge enhancement function object). LpvClassName 表示图像边缘增强的功能调用的对象名称,目前名称应为:ILEdgeFilter (图像边缘增强的功能相关对象); InputParameterFile represents the parameter file name for the edge filter object. 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 edge_filter_set_edge_polarity accept? +

edge_filter_set_edge_polarity accepts 3 parameters: xPolarityString, yPolarityString, edgeFilterClassObjDescriptionJson. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on edge_filter_set_edge_polarity? +

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

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

Can I rate-limit edge_filter_set_edge_polarity? +

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

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

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