Skip to main content
Analyze local image files using a vision-capable LLM.

Why this plugin exists

Some LLM providers — like GLM or other text-only models — cannot process images directly. This plugin acts as a vision proxy: the calling agent invokes the image tool, which forwards the image to a separately configured vision-capable model (e.g. Claude Sonnet or GPT-4o) and returns a text description. No new API keys are needed. The plugin uses ctx.llmPrompt() — the gateway’s direct LLM access — so all credential types (API keys, OAuth tokens, env vars) work transparently.

Installation

Install this tool individually:
Or install all tools from the toolkit:

Configuration

Prerequisites

Config Examples

Basic setup:
Using an OAuth-authenticated provider: If you’ve authenticated with Anthropic via beige auth login anthropic, no further configuration is needed — the plugin picks up the OAuth token automatically.

Usage

Examples:
Path resolution: paths are resolved against the agent’s sandbox workspace (/workspace/... → host workspace directory). Relative paths are resolved from the agent’s current working directory within the workspace.

Supported image formats

JPEG, PNG, GIF, WebP

Command Reference

Tool name: image

Error Reference