Format Types Usage
| Use Case | Format |
|---|---|
| Prototyping, chat interfaces | Strings work fine |
| Data extraction, classification | Structured output |
| API responses, pipelines | Structured input and output |
String I/O
String in, string out:Structured I/O
Use Pydantic models to validate what goes in and what comes back:Guides
Structured Input
Validate data passed to agents and teams.
Structured Output
Get validated Pydantic objects instead of text.