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.
Advanced I/O Features
Multimodal I/O
Pass images, audio, video, and files to agents.
Output Model
Use a secondary model for better writing or cost savings.