AnthropicImageSource
Source descriptor for an Anthropic base64 image.
Class Diagram
Section titled “Class Diagram”---
title: AnthropicImageSource
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class AnthropicImageSource {
+string type
+string media_type
+string data
}
Yaml Example
Section titled “Yaml Example”media_type: image/pngdata: iVBORw0KGgo...Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| type | string | The encoding type (always ‘base64’ for inline images) |
| media_type | string | The MIME type of the image (e.g., ‘image/png’, ‘image/jpeg’) |
| data | string | The base64-encoded image data |