Schema Tester
JSON Schema
Copy response_format
Edit the schema below. The API will automatically wrap it in a response_format structure.
{ "name": "weather", "strict": true, "schema": { "type": "object", "properties": { "location": { "type": "string", "description": "City or location name" }, "temperature": { "type": "number", "description": "Temperature in Celsius" }, "conditions": { "type": "string", "description": "Weather conditions description" } }, "required": [ "location", "temperature", "conditions" ], "additionalProperties": false } }
User Prompt
Test Schema
Response