edge_filter_set_edge_kernel

Set the kernel used in edge filtering of specified type and size. 设置图像边缘滤波器所使用的滤波核类型核尺寸。 Sets the filter kernel type and size for image edge enhancement, and returns the configured edge filter object. 提供了图像边缘增强的功能,设置图像边缘滤波器所使用的滤波核类型核尺寸 ,并返回设置完成的图像边缘增强的功能调用的对象。 If other edge enhancement functions ...

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

What edge_filter_set_edge_kernel does on Leaper Vision Toolkit

AI agents use edge_filter_set_edge_kernel 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
kWidth integer 滤波核的宽度,传入类型为int类型,需要是一个 3 ~ 31 之间的奇数,如 3, 5, 7 等。 若核尺寸设置为 1,将退化为 (-1, 1),指定的核类型不起作用。
kHeight integer 滤波核的高度,传入类型为int类型,需要是一个 3 ~ 31 之间的奇数,如 3, 5, 7 等。若设置为 0,则使用与宽度相同。
kTypeString string 核类型,目前有三种核类型,LPVSobel , LPVPrewitt , LPVScharr 。传入类型为字符串类型 其中LPVSobel表示:Sobel 核,该核结合了高斯模糊和差分的效果,因此对噪声的抗干扰性较强。 其中LPVPrewitt表示:Prewitt 核,相较于Sobel算子的加权差分机制,Prewi
edgeFilterClassObjDescriptionJson string 用于图像边缘增强的功能调用的对象。如果用户没有指定图像边缘增强的功能相关对象,请调用EdgeFilterNew方法创建一个图像边缘增强的功能调用的对象后传入。 如果用户指定图像边缘增强的功能相关对象,传入一个序列化的JSON字符串,属性包括:LpvClassName(调用工具函数的名称) 和 InputParamet

Parameters from the server's own tool schema.

Why edge_filter_set_edge_kernel needs a policy

The tool configures edge filter parameters and returns a configured filter object. This is a reversible configuration write operation—parameters can be adjusted, filters can be reconfigured, and there are no data deletions or external executions involved. It fits Write rather than Execute because it modifies internal state rather than triggering external operations.

From the tool's definition Tool sets configuration parameters for edge filtering ('Set the kernel used in edge filtering of specified type and size'), creating or modifying filter state that is returned as a serialized JSON object.

Questions about edge_filter_set_edge_kernel

What does the edge_filter_set_edge_kernel tool do? +

Set the kernel used in edge filtering of specified type and size. 设置图像边缘滤波器所使用的滤波核类型核尺寸。 Sets the filter kernel type and size for image edge enhancement, 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_kernel accept? +

edge_filter_set_edge_kernel accepts 4 parameters: kWidth, kHeight, kTypeString, 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_kernel? +

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

edge_filter_set_edge_kernel 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_kernel? +

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

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

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