Claude API documentation
The official reference for the tools used in this lesson.
Lesson 2.3
If your code consumes the output, it needs a schema. Constrain the shape, then validate the response before anything downstream touches it.
If your code consumes the output, it needs a schema. Constrain the shape, then validate the response before anything downstream touches it.