Skip to main content

Module read_image

Module read_image 

Source
Expand description

Implementation of the ReadImage tool.

This module provides the implementation for the ReadImage tool, which is used to read image files and return their contents as base64-encoded data with the appropriate MIME type.

Constants§

SUPPORTED_MIME_TYPES
Supported MIME types for images

Functions§

handle_tool_call
Handle the ReadImage tool call