Lesson 3.131mIntermediate18.2k students

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.

This lesson sits in Tool Calling and Agents, part of Building AI Apps with LLMs. It assumes what came before it and leads directly into the next lesson in the module.

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