il_image_op_diff_scalar

这个是计算输入图像和一个标量逐像素差值的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 English: The two input images should have the same size and format. 中文: 两个输入图像需尺寸相同、类型相同。

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

What il_image_op_diff_scalar does on Leaper Vision Toolkit

AI agents invoke il_image_op_diff_scalar 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
scalar number 输入的标量,传入类型为double类型。
scalar2 number 用于为彩色图像指定第二个通道使用的标量值,传入类型为double类型,若 scalar2 和 scalar3 都设置为 0(默认值),则对所有通道均使用 scalar 数值。
scalar3 number 用于为彩色图像指定第三个通道使用的标量值,传入类型为double类型。
imageUrl string 图片的url地址,通过这个地址获取到图片

Parameters from the server's own tool schema.

Why il_image_op_diff_scalar needs a policy

This tool performs an image processing computation (pixel-wise difference operation) and produces a new output image resource. It runs a transformation operation rather than simply reading existing data or writing/modifying stored data directly. The effect depends on the input arguments (image and scalar value), classifying it as Execute.

From the tool's definition 计算输入图像和一个标量逐像素差值的工具。输出一个新图像 (computes pixel-wise difference between input image and a scalar, outputs a new image)

Questions about il_image_op_diff_scalar

What does the il_image_op_diff_scalar tool do? +

这个是计算输入图像和一个标量逐像素差值的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 English: The two input images should have the same size and format. 中文: 两个输入图像需尺寸相同、类型相同。. 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 il_image_op_diff_scalar accept? +

il_image_op_diff_scalar accepts 4 parameters: scalar, scalar2, scalar3, imageUrl. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on il_image_op_diff_scalar? +

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

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

Can I rate-limit il_image_op_diff_scalar? +

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

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

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