Lesson 3.1

Tool calling fundamentals

You describe the functions, the model chooses one and supplies arguments, your code executes it. The description of each tool matters as much as the prompt.

Duration
31m
Level
Intermediate
Students
18k students

Overview

You describe the functions, the model chooses one and supplies arguments, your code executes it. The description of each tool matters as much as the prompt.

In this lesson you will:

  • Describe a tool so the model uses it correctly
  • Execute the call and feed the result back
  • Validate arguments before executing anything

Resources

Claude API documentation

The official reference for the tools used in this lesson.