Prompts and context

Structured output

An AI response organized into a specified format, often using a schema to define its fields and allowed values.

Where you’ll use it.

A design inventory could return one record per screen with fields for its name, status and owner.

What to keep separate.

A valid structure does not make its contents true. A made-up owner can still fit the required text field. Validate the values as well as the shape.

Connect the ideas.

Read the source.

Google AI for Developers — Structured outputs ↗

A defined response shape still needs value and factual checks.

Reviewed October 24, 2026. Examples are fictional. Product-specific features and data terms vary.