image_view
Load an image from a local path or URL, downscaling it to fit context. Optionally crop a region to zoom in at full resolution.
Instructions
View an image (local path or URL) as model-visible content.
The image is automatically downscaled and recompressed to protect context.
Use region ("x,y,width,height" in original pixel coordinates) to zoom
into a detail at full resolution instead of viewing the whole image.
Args: source: Local file path or direct http(s) URL to an image. max_dimension: Longest edge of the returned image (64-4096, default 1024). quality: JPEG quality 20-95 (default 80). region: Optional crop "x,y,w,h" applied before scaling, for zooming in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| source | Yes | ||
| quality | No | ||
| max_dimension | No |