Claude · Schema

OutputConfig

Configuration for structured output format.

Artificial IntelligenceChatbotsConversational AIGenerative AILarge Language ModelsMachine-LearningNatural Language Processing

Properties

Name Type Description
type string The output format type.
schema object JSON Schema defining the expected output structure.
View JSON Schema on GitHub

JSON Schema

claude-messages-output-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OutputConfig",
  "type": "object",
  "description": "Configuration for structured output format.",
  "properties": {
    "type": {
      "type": "string",
      "description": "The output format type."
    },
    "schema": {
      "type": "object",
      "description": "JSON Schema defining the expected output structure."
    }
  }
}