这个是将输入图像逐像素除以一个标量的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 English: The two input images should have the same size and format. 中文: 两个输入图像需尺寸相同、类型相同。
AI agents use il_image_op_divide_scalar 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 |
|---|---|---|---|
scalar | number | — | 输入的标量,传入类型为double类型。 |
scalar2 | number | — | 用于为彩色图像指定第二个通道使用的标量值,传入类型为double类型,若 scalar2 和 scalar3 都设置为 0(默认值),则对所有通道均使用 scalar 数值。 |
scalar3 | number | — | 用于为彩色图像指定第三个通道使用的标量值,传入类型为double类型。 |
imageUrl | string | — | 图片的url地址,通过这个地址获取到图片 |
Parameters from the server's own tool schema.
This tool performs image transformation by creating a modified copy of the input image through scalar division. It is not destructive (original image remains), not a read-only query (it creates new output), not financial, and not arbitrary code execution—it performs a specific mathematical operation on image data.
From the tool's definition Tool description states it performs pixel-wise division of an input image by a scalar value and outputs a new image. The operation creates/modifies image data (outputs a new image with ResultImg URL) without permanently destroying source data.
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_divide_scalar accepts 4 parameters: scalar, scalar2, scalar3, imageUrl. 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_divide_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.
il_image_op_divide_scalar 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_divide_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.
Set action: deny in the PolicyLayer policy for il_image_op_divide_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.
il_image_op_divide_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.
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 →