Skip to main content

Function Calling and Tool Use

Connect your Mistral models to external functions: JSON schema, tool_choice, parallel calls, and integration with business APIs.

14 lessons About 1 h 30 min Developer

What you'll learn

  • Describe a function in JSON Schema usable by the model and expose it in the API call
  • Run the complete cycle: tool call, local execution, result return, final response
  • Orchestrate parallel function calls and steer the model via tool_choice
  • Handle tool execution errors and secure functions exposed to the model
  • Build a complete end-to-end business case, such as a payment tracker or automated CRM

Course details

Who it's for
Developers, engineers, and integrators looking to leverage Mistral AI via API in their applications.
Prerequisites
Ability to read Python and JSON, command line basics. A Mistral AI Studio API key to try the examples.
Length
1 h 30 min · 14 lessons
Format
100% online self-paced course, accessible 24/7 from a browser. Progress saved, resume anytime. Estimated duration: 1 h 30 min.
Assessment
Self-assessment based on the Key takeaways concluding each lesson, and direct implementation of examples on your own examples. A final quiz of 5 corrected questions, at the end of the last lesson, validates acquired skills.
Accessibility
Course accessible to people with disabilities: text content compatible with screen readers, keyboard navigation, and compliant contrasts. For any adaptation needs, email [email protected].
Price
Free
Recognition
Certificate of completion issued by Corsen AI, verifiable online.

Syllabus

Start the course