Back to guide/General Productivity

Structured Output

Specifying an exact output schema eliminates ambiguity and makes the response programmatically parseable. The confidence field adds useful self-assessment.

ai-prompt-examplestopic
Edit View
Prompt
Analyze {{topic}} and return your analysis in the following JSON structure:\n\n{\n  "summary": "2-3 sentence overview",\n  "key_points": ["point 1", "point 2", "point 3"],\n  "pros": ["pro 1", "pro 2"],\n  "cons": ["con 1", "con 2"],\n  "recommendation": "one clear recommendation",\n  "confidence": "high | medium | low"\n}\n\nDo not include any text outside the JSON block.

Variables to customize

{{topic}}

Why this prompt works

Specifying an exact output schema eliminates ambiguity and makes the response programmatically parseable. The confidence field adds useful self-assessment.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.