Claude · Schema

ImageBlockParam

An image content block. Supports base64-encoded or URL-referenced images.

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Properties

Name Type Description
type string
source object The source of the image.
View JSON Schema on GitHub

JSON Schema

claude-messages-image-block-param-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ImageBlockParam",
  "type": "object",
  "description": "An image content block. Supports base64-encoded or URL-referenced images.",
  "properties": {
    "type": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "description": "The source of the image."
    }
  }
}