You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Structured output configuration for constraining model responses to a specific JSON schema. Supported by OpenAI (native) and Google Gemini (native). Anthropic requires prompt engineering or tool-based approaches.",
134
+
"properties": {
135
+
"name": {
136
+
"type": "string",
137
+
"description": "Name of the response format schema"
138
+
},
139
+
"description": {
140
+
"type": "string",
141
+
"description": "Optional description of what the schema represents"
142
+
},
143
+
"strict": {
144
+
"type": "boolean",
145
+
"description": "Enable strict schema adherence (OpenAI only). When true, all properties must be in required array.",
146
+
"default": false
147
+
},
148
+
"schema": {
149
+
"type": "object",
150
+
"description": "JSON Schema object defining the structure of the response. Must include type, properties, and required fields.",
151
+
"required": [
152
+
"type",
153
+
"properties"
154
+
],
155
+
"properties": {
156
+
"type": {
157
+
"type": "string",
158
+
"enum": [
159
+
"object"
160
+
],
161
+
"description": "Schema type, must be 'object' for structured outputs"
162
+
},
163
+
"properties": {
164
+
"type": "object",
165
+
"description": "Object properties with their schemas",
166
+
"additionalProperties": true
167
+
},
168
+
"required": {
169
+
"type": "array",
170
+
"description": "List of required property names",
171
+
"items": {
172
+
"type": "string"
173
+
}
174
+
},
175
+
"additionalProperties": {
176
+
"type": "boolean",
177
+
"description": "Whether additional properties are allowed",
0 commit comments