这个是将两个图像逐像素相加的工具。输出一个新图像,两个输入图像的尺寸需相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 English: The two input images should have the same size and format. 中文: 两个输入图像需尺寸相同、类型相同。
AI agents use il_image_op_add_weighted 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
beta | number | — | 第二个输入图像的权重 ,传入类型为double类型。 |
alpha | number | — | 第一个输入图像的权重 ,传入类型为double类型。 |
imageUrl1 | string | — | 图片的url地址,通过这个地址获取到图片1 |
imageUrl2 | string | — | 图片的url地址,通过这个地址获取到图片2 |
Parameters from the server's own tool schema.
The tool performs image processing that creates new output data (the weighted sum of two images). This falls under Write category as it generates modified data without destructive effects. Severity is low because the operation is purely mathematical image combination with no side effects, limited to local image processing, and cannot affect external systems or cause data loss.
From the tool's definition Tool description states it 'outputs a new image' (输出一个新图像) by adding two images pixel-wise. The operation creates or modifies data (generates a new transformed image) and returns a serialized JSON with a ResultImg property containing the output image URL.
Attacks that exploit this kind of access
这个是将两个图像逐像素相加的工具。输出一个新图像,两个输入图像的尺寸需相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 English: The two input images should have the same size and format. 中文: 两个输入图像需尺寸相同、类型相同。. 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.
il_image_op_add_weighted accepts 4 parameters: beta, alpha, imageUrl1, imageUrl2. 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 il_image_op_add_weighted: 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.
il_image_op_add_weighted is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the il_image_op_add_weighted 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 il_image_op_add_weighted. 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.
il_image_op_add_weighted 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 →