il_image_op_bit_xor_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 Write
Risk class Medium
Parameters 40 required

What il_image_op_bit_xor_scalar does on Leaper Vision Toolkit

AI agents use il_image_op_bit_xor_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.

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_bit_xor_scalar needs a policy

This tool transforms image data by applying a bitwise XOR operation to every pixel. While the operation is reversible (XOR is self-inverse), it creates new image output and modifies pixel values. This is a Write operation rather than Read (it doesn't just retrieve/query) or Execute (it doesn't run arbitrary code or external operations—it performs a specific, bounded image processing function).

From the tool's definition Tool performs pixel-level XOR bitwise operation on input image with a scalar value and 'outputs a new image' (新图像). The description explicitly states it returns 'output result image URL' (输出结果图像URL地址), indicating it creates/modifies image data.

Questions about il_image_op_bit_xor_scalar

What does the il_image_op_bit_xor_scalar tool do? +

这个是将输入图像和一个标量逐像素进行位操作异或的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入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.

What parameters does il_image_op_bit_xor_scalar accept? +

il_image_op_bit_xor_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_bit_xor_scalar? +

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

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

Can I rate-limit il_image_op_bit_xor_scalar? +

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

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

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