image_get_channel

BGR8 从彩色图像中提取某一个给定索引的通道图像。仅用于彩色图像。 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 给定索引的通道的图像结果 Extract the channel of the given index from a color image. This function is only for a color image. Returns a serialized JSON string containing the following fields: ResultImg: The channel image result of the gi...

Server Leaper Vision Toolkit leaper-mcp/leaper-mcp-proxy
Category Read
Risk class Low
Parameters 20 required

What image_get_channel does on Leaper Vision Toolkit

AI agents call image_get_channel to retrieve information from Leaper Vision Toolkit without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
imageUrl string 当前图像的url地址,通过这个地址获取到输入图像
channelIdx integer 输入的通道索引,可为 0,1 或 2

Parameters from the server's own tool schema.

Why image_get_channel needs a policy

This is a read-only image processing operation that retrieves/extracts data (a specific color channel) from an input image without modifying, deleting, or executing arbitrary code. The operation is deterministic, reversible by design, and produces only informational output. No data is destroyed, created irreversibly, or used to trigger external side effects.

From the tool's definition Tool extracts and returns a channel image from a color image ('Extract the channel of the given index from a color image').

Questions about image_get_channel

What does the image_get_channel tool do? +

BGR8 从彩色图像中提取某一个给定索引的通道图像。仅用于彩色图像。 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 给定索引的通道的图像结果 Extract the channel of the given index from a color image. This function is only for a color image. Returns a serialized JSON string containing the following fields: ResultImg: The channel image result of the given index. It is categorised as a Read tool in the Leaper Vision Toolkit MCP Server, which means it retrieves data without modifying state.

What parameters does image_get_channel accept? +

image_get_channel accepts 2 parameters: imageUrl, channelIdx. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on image_get_channel? +

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

image_get_channel is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit image_get_channel? +

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

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

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