Claude · Schema

TextBlockParam

A text content block in a request.

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Properties

Name Type Description
type string
text string The text content.
cache_control object
View JSON Schema on GitHub

JSON Schema

claude-textblockparam-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextBlockParam",
  "title": "TextBlockParam",
  "type": "object",
  "description": "A text content block in a request.",
  "required": [
    "type",
    "text"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "text",
      "example": "example_value"
    },
    "text": {
      "type": "string",
      "description": "The text content.",
      "example": "example_value"
    },
    "cache_control": {
      "$ref": "#/components/schemas/CacheControl"
    }
  }
}