view_media
Read image files (PNG, JPEG, GIF, WebP, BMP, SVG) from allowed directories, returning base64-encoded data and MIME type for analysis, display, or processing.
Instructions
Read an image file. Returns the base64 encoded data and MIME type. Only works within allowed directories.
SUPPORTED FORMATS: Images: PNG, JPEG, GIF, WebP, BMP, SVG
USAGE: Use this tool to read and encode image files for analysis, display, or processing. The tool streams files efficiently and returns base64-encoded data with proper MIME type detection.
Args: path: Absolute or relative path to the image file within allowed directories
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes |