add agent structured output feature to docs
Merged
TK
9mo ago+170+170+012345678901234567890123456789-0-0-0123456789
why
We do not currently have documentation on the structured output feature within agent
what changed
added documentation for usign structured output with aget
test plan
ran mintlify dev, and looked at docs
Summary by cubic
Adds documentation for the Agent structured output feature, showing how to define a Zod schema via the output option and read data from result.output. Clarifies availability (non-CUA agents) and the need for experimental: true.
- New Features
- Added “Structured Output” guides to basics and reference docs.
- Documented output in AgentExecuteOptions/AgentStreamExecuteOptions and result.output in AgentResult/AgentStreamResult.
- Included examples: basic extraction, complex arrays, and streaming, with notes on non-CUA and experimental requirement.