Output Schemas for Clients
Publish the shape so consumers can rely on it.
Publish the Shape
A structured tool can also advertise an output schema: a JSON Schema that tells clients exactly what fields and types to expect.
What an Output Schema Is
It is a machine-readable description of your result, listing each field name and its type. Clients read it before ever calling the tool.
All lessons in this course
- Text vs Structured Content
- Return a Typed Result Object
- Output Schemas for Clients
- Return Images & Binary Blobs