Curriculum
Module 02
Tools and function calling
Give a model hands, and make the hands safe: function calling, tool schemas, validating arguments, errors and retries, and having too many.
5 lessons · 11 videos · 4h 24m- 02.01
Function calling, concretely
Expose a function to a model and handle the call it makes.
- 02.02
Designing a tool the model can use
Write a tool description precise enough that the model picks it for the right reason.
- 02.03
Validating what comes back
Treat model-supplied arguments as untrusted input and validate before executing.
- 02.04
When a tool fails
Return an error the model can act on instead of one that ends the run.
- 02.05
Too many tools
Explain why tool choice degrades with count, and what to do instead.