NachschlagenQuellenregister

Dokumentationerreichbar

Anthropic, Structured outputs

platform.claude.com (externe Seite)

Die Doku zur strukturierten Ausgabe der Claude-Schnittstelle: Antworten nach einem mitgegebenen Schema, gesichert durch eingeschränkte Erzeugung. Der Abschnitt zu ungültigen Ausgaben nennt die Grenzen der Garantie: Eine Ablehnung hat Vorrang vor dem Schema und kommt mit Statuscode 200, eine an der Tokengrenze abgeschnittene Antwort ist unvollständig. Wertebereiche für Zahlen (minimum, maximum) unterstützt das Schema nicht.

geprüft 22.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 11.10.2026:

  • Structured outputs guarantee schema-compliant responses through constrained decodingbestätigt 22.11.2026
  • Without structured outputs, Claude can generate malformed JSON responses or invalid tool inputs that break your applications.bestätigt 22.11.2026
  • The response completes normally, with no error and no specialbestätigt 22.11.2026
  • Compare enum values case-insensitively, and avoid enum values that differ only in capitalization.bestätigt 22.11.2026
  • Although structured outputs guarantee schema compliance in most cases, there are scenarios where the output might not match your schemabestätigt 22.11.2026
  • The output might not match your schema because the refusal message takes precedence over schema constraintsbestätigt 22.11.2026
  • Claude might return a value that differs from your schema only in capitalization, typically in the first letter of a word following a spacebestätigt 22.11.2026
  • A property that asks for the model's thinking or step-by-step reasoning might lead to a reasoning_extraction refusal.bestätigt 22.11.2026
  • Retry with a higher max_tokens value to get the complete structured output.bestätigt 22.11.2026

01 Was Automatisierung mit KI ist02 Ein Modell auf eigene Daten abstimmen03 Abläufe bauen mit n8n05 Wenn ein Schritt schiefgeht08 Woran es fehlt, entscheidet den Weg15 Wofür man ein Sprachmodell benutzt

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.